feat: add settings page for database, OpenRouter, score, theme, and display density configurations.

This commit is contained in:
Michael committed 2026-02-22 14:16:49 +01:00
1 parent 359d196c4d
commit cfd079fbf5
7 files changed
+41 -28

No files matched your search

+4 -1
View File
@@ -1,6 +1,9 @@
import { auth } from "@/lib/auth";
import NextAuth from "next-auth";
import { authConfig } from "@/lib/auth.config";
import { NextResponse } from "next/server";
const { auth } = NextAuth(authConfig);
export default auth((req) => {
const isLoggedIn = !!req.auth;
const { nextUrl } = req;