mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	fix: typo
This commit is contained in:
		@@ -31,4 +31,4 @@ DISABLE_GPT4=
 | 
			
		||||
# (optional)
 | 
			
		||||
# Default: Empty
 | 
			
		||||
# If you do not want users to query balance, set this value to 1.
 | 
			
		||||
Hide_Balance_Query=
 | 
			
		||||
HIDE_BALANCE_QUERY=
 | 
			
		||||
@@ -185,7 +185,7 @@ If you do not want users to input their own API key, set this value to 1.
 | 
			
		||||
 | 
			
		||||
If you do not want users to use GPT-4, set this value to 1.
 | 
			
		||||
 | 
			
		||||
### `Hide_Balance_Query` (optional)
 | 
			
		||||
### `HIDE_BALANCE_QUERY` (optional)
 | 
			
		||||
 | 
			
		||||
> Default: Empty
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -98,7 +98,7 @@ OpenAI 接口代理 URL,如果你手动配置了 openai 接口代理,请填
 | 
			
		||||
 | 
			
		||||
如果你不想让用户使用 GPT-4,将此环境变量设置为 1 即可。
 | 
			
		||||
 | 
			
		||||
### `Hide_Balance_Query` (可选)
 | 
			
		||||
### `HIDE_BALANCE_QUERY` (可选)
 | 
			
		||||
 | 
			
		||||
如果你不想让用户查询余额,将此环境变量设置为 1 即可。
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -96,7 +96,7 @@ Si no desea que los usuarios rellenen la clave de API ellos mismos, establezca e
 | 
			
		||||
 | 
			
		||||
Si no desea que los usuarios utilicen GPT-4, establezca esta variable de entorno en 1.
 | 
			
		||||
 | 
			
		||||
### `Hide_Balance_Query` (Opcional)
 | 
			
		||||
### `HIDE_BALANCE_QUERY` (Opcional)
 | 
			
		||||
 | 
			
		||||
Si no desea que los usuarios consulte el saldo, establezca esta variable de entorno en 1.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@ declare global {
 | 
			
		||||
      DISABLE_GPT4?: string; // allow user to use gpt-4 or not
 | 
			
		||||
      BUILD_MODE?: "standalone" | "export";
 | 
			
		||||
      BUILD_APP?: string; // is building desktop app
 | 
			
		||||
      Hide_Balance_Query?: string; // allow user to query balance or not
 | 
			
		||||
      HIDE_BALANCE_QUERY?: string; // allow user to query balance or not
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@@ -47,6 +47,6 @@ export const getServerSideConfig = () => {
 | 
			
		||||
    isVercel: !!process.env.VERCEL,
 | 
			
		||||
    hideUserApiKey: !!process.env.HIDE_USER_API_KEY,
 | 
			
		||||
    enableGPT4: !process.env.DISABLE_GPT4,
 | 
			
		||||
    hideBalanceQuery: !!process.env.Hide_Balance_Query,
 | 
			
		||||
    hideBalanceQuery: !!process.env.HIDE_BALANCE_QUERY,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user