feat: relocate dashboard to /app and update related links

This commit is contained in:
ramvignesh-b
2026-05-11 11:40:54 +05:30
parent 08025303c1
commit 73d28e6741
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ app.use("*", prettyJSON());
app.route("/auth", authRoutes);
app.route("/api/config", configRoutes);
app.route("/api", apiRoutes);
app.route("/dashboard", dashboardRoutes);
app.route("/app", dashboardRoutes);
app.notFound((c) => {
console.error(`[404 Not Found] ${c.req.method} ${c.req.url}`);
+1 -1
View File
@@ -84,7 +84,7 @@ authRoutes.get("/callback", async (c) => {
<h2 class="card-title text-2xl font-bold">Authenticated!</h2>
<p class="opacity-70 mt-2">Successfully connected to <strong>${providerName}</strong>.</p>
<div class="card-actions mt-6">
<a href="/dashboard" class="btn btn-primary">Go to Dashboard</a>
<a href="/app" class="btn btn-primary">Go to Dashboard</a>
</div>
</div>
</div>