修改环境配置,根据配置自动选中后端地址,不需要再手动更改

This commit is contained in:
Vectorune
2025-11-11 17:19:34 +08:00
parent 0b6fac8161
commit f40170207a
4 changed files with 20 additions and 9 deletions

4
.env.production Normal file
View File

@ -0,0 +1,4 @@
# 远程后端地址
REACT_APP_BACKEND_ADDRESS=http://43.138.83.20:10001
# 超时时间
REACT_APP_BACKEND_TIMEOUT=10000