fix: update Postiz URL from social.jeffemmett.com to demo.rsocials.online
The old domain had no DNS record. Postiz is served via Traefik at demo.rsocials.online. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2ba2034e3a
commit
2853e46037
|
|
@ -403,7 +403,7 @@ class FolkSocialsCanvas extends HTMLElement {
|
||||||
<span class="sc-postiz-title">Postiz — Post Scheduler</span>
|
<span class="sc-postiz-title">Postiz — Post Scheduler</span>
|
||||||
<button class="sc-postiz-close" id="close-postiz">\u2715</button>
|
<button class="sc-postiz-close" id="close-postiz">\u2715</button>
|
||||||
</div>
|
</div>
|
||||||
<iframe class="sc-postiz-iframe" src="${this.postizOpen ? "https://social.jeffemmett.com" : "about:blank"}" title="Postiz"></iframe>
|
<iframe class="sc-postiz-iframe" src="${this.postizOpen ? "https://demo.rsocials.online" : "about:blank"}" title="Postiz"></iframe>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -419,7 +419,7 @@ class FolkSocialsCanvas extends HTMLElement {
|
||||||
const panel = this.shadow.getElementById("postiz-panel");
|
const panel = this.shadow.getElementById("postiz-panel");
|
||||||
const iframe = panel?.querySelector("iframe");
|
const iframe = panel?.querySelector("iframe");
|
||||||
if (panel) panel.classList.toggle("open", this.postizOpen);
|
if (panel) panel.classList.toggle("open", this.postizOpen);
|
||||||
if (iframe && this.postizOpen) iframe.src = "https://social.jeffemmett.com";
|
if (iframe && this.postizOpen) iframe.src = "https://demo.rsocials.online";
|
||||||
if (iframe && !this.postizOpen) iframe.src = "about:blank";
|
if (iframe && !this.postizOpen) iframe.src = "about:blank";
|
||||||
});
|
});
|
||||||
this.shadow.getElementById("close-postiz")?.addEventListener("click", () => {
|
this.shadow.getElementById("close-postiz")?.addEventListener("click", () => {
|
||||||
|
|
|
||||||
|
|
@ -521,7 +521,7 @@ routes.get("/scheduler", (c) => {
|
||||||
moduleId: "rsocials",
|
moduleId: "rsocials",
|
||||||
spaceSlug: space,
|
spaceSlug: space,
|
||||||
modules: getModuleInfoList(),
|
modules: getModuleInfoList(),
|
||||||
appUrl: "https://social.jeffemmett.com",
|
appUrl: "https://demo.rsocials.online",
|
||||||
appName: "Postiz",
|
appName: "Postiz",
|
||||||
theme: "dark",
|
theme: "dark",
|
||||||
}));
|
}));
|
||||||
|
|
@ -593,7 +593,7 @@ export const socialsModule: RSpaceModule = {
|
||||||
// Run migration for any existing file-based threads
|
// Run migration for any existing file-based threads
|
||||||
try { await migrateFileThreadsToAutomerge("demo"); } catch { /* ignore */ }
|
try { await migrateFileThreadsToAutomerge("demo"); } catch { /* ignore */ }
|
||||||
},
|
},
|
||||||
externalApp: { url: "https://social.jeffemmett.com", name: "Postiz" },
|
externalApp: { url: "https://demo.rsocials.online", name: "Postiz" },
|
||||||
feeds: [
|
feeds: [
|
||||||
{
|
{
|
||||||
id: "social-feed",
|
id: "social-feed",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue