diff --git a/src/routes/admin.test.ts b/src/routes/admin.test.ts index ea70941..4cd54ad 100644 --- a/src/routes/admin.test.ts +++ b/src/routes/admin.test.ts @@ -148,7 +148,7 @@ describe("Admin Routes", () => { }); expect(res.status).toBe(302); // Redirects back to dashboard - expect(res.headers.get("Location")).toBe("/admin?view=list"); + expect(res.headers.get("Location")).toBe("/admin?view=list#your-feeds"); // Verify feed was created in KV const feedList = (await mockEnv.EMAIL_STORAGE.get( diff --git a/src/routes/admin.tsx b/src/routes/admin.tsx index 2af2186..8565e64 100644 --- a/src/routes/admin.tsx +++ b/src/routes/admin.tsx @@ -383,8 +383,13 @@ app.get("/", async (c) => { -