提交配置文件
This commit is contained in:
+19
-13
@@ -33,15 +33,18 @@ const portConfigs: Record<string, Partial<ApiConfig>> = {
|
||||
// 主要
|
||||
// 梅州
|
||||
'51703': {
|
||||
baseUrl: 'http://10.79.97.17:8000',
|
||||
documentUrl: 'http://10.79.97.17:8000/docauditai/',
|
||||
uploadUrl: 'http://10.79.97.17:8000/admin/documents',
|
||||
// baseUrl: 'http://10.79.97.17:8000',
|
||||
// documentUrl: 'http://10.79.97.17:8000/docauditai/',
|
||||
// uploadUrl: 'http://10.79.97.17:8000/admin/documents',
|
||||
baseUrl: 'http://172.16.0.55:8073',
|
||||
documentUrl: 'http://172.16.0.55:8073/docauditai/',
|
||||
uploadUrl: 'http://172.16.0.55:8073/admin/documents',
|
||||
// baseUrl: 'http://nas.7bm.co:8073',
|
||||
// documentUrl: 'http://nas.7bm.co:8073/docauditai/',
|
||||
// uploadUrl: 'http://nas.7bm.co:8073/admin/documents',
|
||||
oauth: {
|
||||
redirectUri: 'http://10.79.97.17:51703/callback'
|
||||
}
|
||||
// baseUrl: 'http://nas.7bm.co:8873',
|
||||
// documentUrl: 'http://nas.7bm.co:8873/docauditai/',
|
||||
// uploadUrl: 'http://nas.7bm.co:8873/admin/documents'
|
||||
},
|
||||
|
||||
|
||||
@@ -99,9 +102,12 @@ const portConfigs: Record<string, Partial<ApiConfig>> = {
|
||||
const configs: Record<string, ApiConfig> = {
|
||||
// 开发环境
|
||||
development: {
|
||||
baseUrl: 'http://nas.7bm.co:8073', // FastAPI后端(包含/dify代理)
|
||||
documentUrl: 'http://nas.7bm.co:8073/docauditai/',
|
||||
uploadUrl: 'http://nas.7bm.co:8073/admin/documents',
|
||||
baseUrl: 'http://172.16.0.55:8073', // FastAPI后端(包含/dify代理)
|
||||
documentUrl: 'http://172.16.0.55:8073/docauditai/',
|
||||
uploadUrl: 'http://172.16.0.55:8073/admin/documents',
|
||||
// baseUrl: 'http://nas.7bm.co:8073', // FastAPI后端(包含/dify代理)
|
||||
// documentUrl: 'http://nas.7bm.co:8073/docauditai/',
|
||||
// uploadUrl: 'http://nas.7bm.co:8073/admin/documents',
|
||||
oauth: {
|
||||
serverUrl: 'http://10.79.112.85', // IDaaS服务器地址
|
||||
clientId: 'none',
|
||||
@@ -334,10 +340,10 @@ export const {
|
||||
* 可以安全地在客户端代码中使用
|
||||
*/
|
||||
export const CLIENT_OAUTH_CONFIG = {
|
||||
serverUrl: OAUTH_CONFIG.serverUrl,
|
||||
clientId: OAUTH_CONFIG.clientId,
|
||||
redirectUri: OAUTH_CONFIG.redirectUri,
|
||||
appId: OAUTH_CONFIG.appId,
|
||||
serverUrl: OAUTH_CONFIG.serverUrl as string,
|
||||
clientId: OAUTH_CONFIG.clientId as string,
|
||||
redirectUri: OAUTH_CONFIG.redirectUri as string,
|
||||
appId: OAUTH_CONFIG.appId as string,
|
||||
// 客户端不需要 clientSecret
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user