feat: add root redirect to /app endpoint
This commit is contained in:
@@ -12,6 +12,8 @@ const app = new Hono({ strict: false });
|
||||
app.use("*", logger());
|
||||
app.use("*", prettyJSON());
|
||||
|
||||
app.get("/", (c) => c.redirect("/app"));
|
||||
|
||||
app.route("/auth", authRoutes);
|
||||
app.route("/api/config", configRoutes);
|
||||
app.route("/api", apiRoutes);
|
||||
|
||||
Reference in New Issue
Block a user