feat: relocate dashboard to /app and update related links
This commit is contained in:
+1
-1
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user