mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-27 11:09:22 +08:00
支持禁止用户输入API Key
This commit is contained in:
@@ -36,6 +36,7 @@ export const getServerSideConfig = () => {
|
||||
code: process.env.CODE,
|
||||
codes: ACCESS_CODES,
|
||||
needCode: ACCESS_CODES.size > 0,
|
||||
disableUserToken: process.env.DISABLE_USER_TOKEN === "true",
|
||||
proxyUrl: process.env.PROXY_URL,
|
||||
isVercel: !!process.env.VERCEL,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user