Fix rSheet: remove space slug from URL paths
Space context comes from subdomain routing, not URL path segments.
Fix appUrl, externalApp.url, and onboardingActions.href to use
subdomain-compatible paths without {space} prefix.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9a45b19435
commit
16fe8f7626
|
|
@ -21,7 +21,7 @@ routes.get("/", (c) => {
|
||||||
moduleId: "rsheet",
|
moduleId: "rsheet",
|
||||||
spaceSlug: space,
|
spaceSlug: space,
|
||||||
modules: getModuleInfoList(),
|
modules: getModuleInfoList(),
|
||||||
appUrl: `/${space}/rsheet/app`,
|
appUrl: `/rsheet/app`,
|
||||||
appName: "dSheet",
|
appName: "dSheet",
|
||||||
theme: "dark",
|
theme: "dark",
|
||||||
})
|
})
|
||||||
|
|
@ -167,7 +167,7 @@ export const sheetModule: RSpaceModule = {
|
||||||
scoping: { defaultScope: "space", userConfigurable: false },
|
scoping: { defaultScope: "space", userConfigurable: false },
|
||||||
routes,
|
routes,
|
||||||
externalApp: {
|
externalApp: {
|
||||||
url: "/modules/rsheet/app",
|
url: "/rsheet/app",
|
||||||
name: "dSheet",
|
name: "dSheet",
|
||||||
},
|
},
|
||||||
outputPaths: [
|
outputPaths: [
|
||||||
|
|
@ -184,7 +184,7 @@ export const sheetModule: RSpaceModule = {
|
||||||
icon: "\u{1F4CA}",
|
icon: "\u{1F4CA}",
|
||||||
description: "Create or edit a collaborative spreadsheet",
|
description: "Create or edit a collaborative spreadsheet",
|
||||||
type: "navigate" as any,
|
type: "navigate" as any,
|
||||||
href: "/{space}/rsheet",
|
href: "/rsheet",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue