diff --git a/modules/rcart/components/folk-cart-shop.ts b/modules/rcart/components/folk-cart-shop.ts index 624a107..df7fd9a 100644 --- a/modules/rcart/components/folk-cart-shop.ts +++ b/modules/rcart/components/folk-cart-shop.ts @@ -946,7 +946,7 @@ class FolkCartShop extends HTMLElement { if (this.space === 'demo') { const demoId = `demo-gb-${Date.now()}`; const host = window.location.host; - const shareUrl = `https://${host}/demo/rcart/buy/${demoId}`; + const shareUrl = `https://${host}/rcart/buy/${demoId}`; try { await navigator.clipboard.writeText(shareUrl); } catch {} alert(`Group buy created! Link copied.\nView all group buys in the Group Buys tab.`); this._history.push(this.view); diff --git a/modules/rpubs/landing.ts b/modules/rpubs/landing.ts index ce91b94..f33808e 100644 --- a/modules/rpubs/landing.ts +++ b/modules/rpubs/landing.ts @@ -118,7 +118,7 @@ export function renderLanding(): string {
- Sent by rSchedule • Manage Schedules + Sent by rSchedule • Manage Schedules
${this.esc(JSON.stringify(this.artifact, null, 2))}
diff --git a/shared/components/rstack-space-switcher.ts b/shared/components/rstack-space-switcher.ts
index 4c0d7e9..3f00cd1 100644
--- a/shared/components/rstack-space-switcher.ts
+++ b/shared/components/rstack-space-switcher.ts
@@ -703,7 +703,7 @@ export class RStackSpaceSwitcher extends HTMLElement {
overlay.remove();
// Redirect to demo space
- window.location.href = "/demo/canvas";
+ window.location.href = rspaceNavUrl("demo", "rspace");
} catch (err: any) {
statusEl.textContent = err.message || "Failed to delete";
statusEl.className = "status error";