页面嵌套修改
This commit is contained in:
1 parent
213dd841b5
commit
4450f342d8
38 files changed
+2020
-309
No files matched your search
@@ -20,6 +20,13 @@ export function readRuntimeFlag(key: string): boolean {
|
||||
return readRuntimeEnv(key) === "true";
|
||||
}
|
||||
|
||||
/**
|
||||
* Read an integer setting supplied by ``runtime-config.js``.
|
||||
*
|
||||
* Runtime configuration is editable after the frontend is built, so validate
|
||||
* numeric values here instead of letting an invalid deployment value bypass a
|
||||
* UI constraint that the backend cannot accept.
|
||||
*/
|
||||
export const env = {
|
||||
NEXT_PUBLIC_BACKEND_BASE_URL: readRuntimeEnv("VITE_BACKEND_BASE_URL"),
|
||||
NEXT_PUBLIC_LANGGRAPH_BASE_URL: readRuntimeEnv("VITE_LANGGRAPH_BASE_URL"),
|
||||
|
||||
Reference in new issue
Block a user