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