mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-15 03:08:31 +02:00
feat: add settings page for database, OpenRouter, score, theme, and display density configurations.
This commit is contained in:
1 parent
359d196c4d
commit
cfd079fbf5
7 files changed
+41
-28
No files matched your search
+4
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user