fix: 修改vite配置

This commit is contained in:
sy2084 2024-07-26 17:26:25 +08:00
parent 179c46f73a
commit d69be8f424

View File

@ -15,10 +15,10 @@ let base: string
switch (argv.mode) {
case 'staging':
case 'test':
base = 'https://custom-chart-pre-api.shiyue.com/'
base = 'https://custom-chart.shiyue.com/'
break
case 'production':
base = 'https://custom-chart-api.shiyuegame.com/'
base = 'https://custom-chart.shiyuegame.com/'
break
default:
base = 'http://localhost:8080/'