fedipod 1.48.0 → 1.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/web/front/run.js CHANGED
@@ -186,7 +186,7 @@ async function showReply(res, p) {
186
186
  // back from the server and one comes from sessionStorage, and pasting any
187
187
  // of them into innerHTML means whatever markup they contain is rendered.
188
188
  // Only the fixed wording is markup here; everything variable is text.
189
- const manage = `${p.podBase.replace(/\/$/, '')}${d.doorPath}?dk-token=${encodeURIComponent(d.doorSecret)}`;
189
+ const manage = d.manage || `${p.podBase.replace(/\/$/, '')}${d.doorPath}?dk-token=${encodeURIComponent(d.doorSecret)}`;
190
190
  n.textContent = 'Your Fediverse account is ready. Manage it at ';
191
191
  const a = say('a', p.podBase.replace(/\/$/, '') + d.doorPath); a.href = manage;
192
192
  n.append(a, '.');