mirror of https://github.com/fantasticit/think.git
fix: update config
parent
56e6d9d797
commit
dac67c7eff
|
@ -11,7 +11,6 @@ const nextConfig = semi({
|
||||||
SERVER_API_URL: config.client.apiUrl,
|
SERVER_API_URL: config.client.apiUrl,
|
||||||
COLLABORATION_API_URL: config.client.collaborationUrl,
|
COLLABORATION_API_URL: config.client.collaborationUrl,
|
||||||
ENABLE_ALIYUN_OSS: !!config.oss.aliyun.accessKeyId,
|
ENABLE_ALIYUN_OSS: !!config.oss.aliyun.accessKeyId,
|
||||||
DRAWIO_URL: config.client.drawioUrl || 'https://embed.diagrams.net',
|
|
||||||
},
|
},
|
||||||
webpack: (config, { dev, isServer }) => {
|
webpack: (config, { dev, isServer }) => {
|
||||||
config.resolve.plugins.push(new TsconfigPathsPlugin());
|
config.resolve.plugins.push(new TsconfigPathsPlugin());
|
||||||
|
|
|
@ -10,7 +10,6 @@ client:
|
||||||
assetPrefix: '/'
|
assetPrefix: '/'
|
||||||
apiUrl: 'http://localhost:5001/api'
|
apiUrl: 'http://localhost:5001/api'
|
||||||
collaborationUrl: 'ws://localhost:5003'
|
collaborationUrl: 'ws://localhost:5003'
|
||||||
drawioUrl: 'https://embed.diagrams.net'
|
|
||||||
|
|
||||||
# 数据库配置
|
# 数据库配置
|
||||||
db:
|
db:
|
||||||
|
|
Loading…
Reference in New Issue