mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-01-06 17:28:15 +08:00
[feature](webapp) upgrade chat version
This commit is contained in:
@@ -5,6 +5,7 @@ import themeSettings from './themeSettings';
|
||||
import proxy from './proxy';
|
||||
import routes from './routes';
|
||||
import moment from 'moment';
|
||||
import ENV_CONFIG from './envConfig';
|
||||
|
||||
const { REACT_APP_ENV, RUN_TYPE } = process.env;
|
||||
|
||||
@@ -19,6 +20,7 @@ export default defineConfig({
|
||||
API_BASE_URL: '/api/semantic/', // 直接在define中挂载裸露的全局变量还需要配置eslint,ts相关配置才能导致在使用中不会飘红,冗余较高,这里挂在进程环境下
|
||||
CHAT_API_BASE_URL: '/api/chat/',
|
||||
AUTH_API_BASE_URL: '/api/auth/',
|
||||
...ENV_CONFIG,
|
||||
},
|
||||
},
|
||||
metas: [
|
||||
|
||||
@@ -13,8 +13,7 @@ const Settings: LayoutSettings & {
|
||||
colorWeak: false,
|
||||
title: '',
|
||||
pwa: false,
|
||||
// logo: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
|
||||
iconfontUrl: '//at.alicdn.com/t/c/font_3201979_rncj6jun6k.js',
|
||||
iconfontUrl: '//at.alicdn.com/t/c/font_3201979_drwu4z3kkbi.js',
|
||||
splitMenus: true,
|
||||
menu: {
|
||||
defaultOpenAll: true,
|
||||
|
||||
2
webapp/packages/supersonic-fe/config/envConfig.ts
Normal file
2
webapp/packages/supersonic-fe/config/envConfig.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
const ENV_CONFIG = {};
|
||||
export default ENV_CONFIG;
|
||||
Reference in New Issue
Block a user