mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 14:03:43 +08:00
123
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { NextRequest, NextResponse } from "next/server";
|
||||
import { auth, getIP } from "@/app/api/auth";
|
||||
import { auth } from "@/app/api/auth";
|
||||
import { ModelProvider } from "@/app/constant";
|
||||
import { requestLog } from "@/app/api/common";
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
import { prettyObject } from "@/app/utils/format";
|
||||
import { NextRequest, NextResponse } from "next/server";
|
||||
import { auth } from "./auth";
|
||||
import { requestOpenai, requestLog } from "./common";
|
||||
import { requestOpenai } from "./common";
|
||||
|
||||
// const ALLOWED_PATH = new Set(Object.values({ ...OpenaiPath, ...AZURE_PATH }));
|
||||
const ALLOWD_PATH = new Set(Object.values(OpenaiPath));
|
||||
|
||||
Reference in New Issue
Block a user