We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5168499 commit 190ace8Copy full SHA for 190ace8
1 file changed
packages/cli/src/utils/studio.ts
@@ -271,7 +271,8 @@ export function createStudioStaticPlugin(distPath: string) {
271
`$1="${STUDIO_PATH}/`,
272
);
273
274
- // Redirect bare path
+ // Redirect root and bare path to Studio
275
+ app.get('/', (c: any) => c.redirect(`${STUDIO_PATH}/`));
276
app.get(STUDIO_PATH, (c: any) => c.redirect(`${STUDIO_PATH}/`));
277
278
// Serve static files with SPA fallback
0 commit comments