fix: update config

This commit is contained in:
fantasticit 2022-05-20 23:14:14 +08:00
parent 56e6d9d797
commit dac67c7eff
2 changed files with 0 additions and 2 deletions

View File

@ -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());

View File

@ -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: