mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-23 09:16:49 +08:00
优化黑白名单
This commit is contained in:
@@ -8,7 +8,8 @@ import {
|
||||
// DatePicker,
|
||||
} from "@tremor/react";
|
||||
import UsageByModel from "./usage-by-model-chart";
|
||||
import { getSession, ADMIN_LIST, isName } from "@/lib/auth";
|
||||
import { getSession } from "@/lib/auth";
|
||||
import { isName, ADMIN_LIST } from "@/lib/auth_list";
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
export default async function AdminPage() {
|
||||
|
||||
Reference in New Issue
Block a user