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",
|
||||
spaceSlug: space,
|
||||
modules: getModuleInfoList(),
|
||||
appUrl: `/${space}/rsheet/app`,
|
||||
appUrl: `/rsheet/app`,
|
||||
appName: "dSheet",
|
||||
theme: "dark",
|
||||
})
|
||||
|
|
@ -167,7 +167,7 @@ export const sheetModule: RSpaceModule = {
|
|||
scoping: { defaultScope: "space", userConfigurable: false },
|
||||
routes,
|
||||
externalApp: {
|
||||
url: "/modules/rsheet/app",
|
||||
url: "/rsheet/app",
|
||||
name: "dSheet",
|
||||
},
|
||||
outputPaths: [
|
||||
|
|
@ -184,7 +184,7 @@ export const sheetModule: RSpaceModule = {
|
|||
icon: "\u{1F4CA}",
|
||||
description: "Create or edit a collaborative spreadsheet",
|
||||
type: "navigate" as any,
|
||||
href: "/{space}/rsheet",
|
||||
href: "/rsheet",
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue