改成自己的域名

This commit is contained in:
yangmao 2023-04-04 14:40:27 +08:00
parent 15429cd67f
commit 8a1b2aee27

View File

@ -1,6 +1,6 @@
import { NextRequest } from "next/server";
const OPENAI_URL = "api.openai.com";
const OPENAI_URL = "c.6530.cn";
const DEFAULT_PROTOCOL = "https";
const PROTOCOL = process.env.PROTOCOL ?? DEFAULT_PROTOCOL;
const BASE_URL = process.env.BASE_URL ?? OPENAI_URL;