Commit 3cd18914 by 李伟康

chore(config): 移除配置加载器中的环境参数

- 从CONFIG_URL中移除env=develop查询参数
- 更新配置加载逻辑以支持通用环境配置
1 parent 3e47fdd2
......@@ -3,7 +3,7 @@
import { useEffect } from 'react'
import { useStore } from '@/app/components/app/store'
const CONFIG_URL = 'https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=glsk-ai-data-assistant-config&env=develop'
const CONFIG_URL = 'https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=glsk-ai-data-assistant-config'
export function ConfigLoader() {
const setGlobalConfig = useStore(state => state.setGlobalConfig)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!