We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1494b8e commit 699a2caCopy full SHA for 699a2ca
apps/console/objectstack.config.ts
@@ -77,6 +77,11 @@ class PatchedHonoServerPlugin extends HonoServerPlugin {
77
return c.text('Asset Not Found', 404);
78
});
79
80
+ // Server-side Redirect: Root -> Console
81
+ app.get('/', (c: any) => {
82
+ return c.redirect('/console/');
83
+ });
84
+
85
// Register fallback after serveStatic (which is added in listen/originalStart)
86
app.get('/console/*', async (c: any) => {
87
// Ignore API calls -> let them 404
0 commit comments