Skip to content

Commit 2f2aefd

Browse files
committed
fix: typo
1 parent c05de45 commit 2f2aefd

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.env.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ DISABLE_GPT4=
3131
# (optional)
3232
# Default: Empty
3333
# If you do not want users to query balance, set this value to 1.
34-
Hide_Balance_Query=
34+
HIDE_BALANCE_QUERY=

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ If you do not want users to input their own API key, set this value to 1.
185185
186186
If you do not want users to use GPT-4, set this value to 1.
187187

188-
### `Hide_Balance_Query` (optional)
188+
### `HIDE_BALANCE_QUERY` (optional)
189189

190190
> Default: Empty
191191

README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ OpenAI 接口代理 URL,如果你手动配置了 openai 接口代理,请填
9898

9999
如果你不想让用户使用 GPT-4,将此环境变量设置为 1 即可。
100100

101-
### `Hide_Balance_Query` (可选)
101+
### `HIDE_BALANCE_QUERY` (可选)
102102

103103
如果你不想让用户查询余额,将此环境变量设置为 1 即可。
104104

README_ES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Si no desea que los usuarios rellenen la clave de API ellos mismos, establezca e
9696

9797
Si no desea que los usuarios utilicen GPT-4, establezca esta variable de entorno en 1.
9898

99-
### `Hide_Balance_Query` (Opcional)
99+
### `HIDE_BALANCE_QUERY` (Opcional)
100100

101101
Si no desea que los usuarios consulte el saldo, establezca esta variable de entorno en 1.
102102

app/config/server.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ declare global {
1212
DISABLE_GPT4?: string; // allow user to use gpt-4 or not
1313
BUILD_MODE?: "standalone" | "export";
1414
BUILD_APP?: string; // is building desktop app
15-
Hide_Balance_Query?: string; // allow user to query balance or not
15+
HIDE_BALANCE_QUERY?: string; // allow user to query balance or not
1616
}
1717
}
1818
}
@@ -47,6 +47,6 @@ export const getServerSideConfig = () => {
4747
isVercel: !!process.env.VERCEL,
4848
hideUserApiKey: !!process.env.HIDE_USER_API_KEY,
4949
enableGPT4: !process.env.DISABLE_GPT4,
50-
hideBalanceQuery: !!process.env.Hide_Balance_Query,
50+
hideBalanceQuery: !!process.env.HIDE_BALANCE_QUERY,
5151
};
5252
};

0 commit comments

Comments
 (0)