This commit is contained in:
张成
2025-11-28 16:38:46 +08:00
parent 37acdd48b0
commit e77f004dcc
4 changed files with 65 additions and 7 deletions

View File

@@ -29,8 +29,8 @@ const developmentConfig = {
// apiUrl: 'http://localhost:9097/admin_api/',
// uploadUrl: 'http://localhost:9097/admin_api/upload',
apiUrl: 'http://work.light120.com/admin_api/',
uploadUrl: 'http://work.light120.com/admin_api/upload',
apiUrl: 'https://work.light120.com/admin_api/',
uploadUrl: 'https://work.light120.com/admin_api/upload',
// 开发环境显示更多调试信息
debug: true
}
@@ -38,8 +38,8 @@ const developmentConfig = {
// 生产环境配置
const productionConfig = {
...baseConfig,
apiUrl: 'http://work.light120.com/admin_api/',
uploadUrl: 'http://work.light120.com/admin_api/upload',
apiUrl: 'https://work.light120.com/admin_api/',
uploadUrl: 'https://work.light120.com/admin_api/upload',
debug: false
}