Browse Source

chore: 更新开发和生产环境的API基础路径

将开发环境的API路径从'/official'改为'/prod-api'
将生产环境的API路径从'/official'改为'/prod-api'
master
前端-胡立永 1 week ago
parent
commit
7cc50e779f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      .env.development
  2. +1
    -1
      .env.production

+ 1
- 1
.env.development View File

@ -3,4 +3,4 @@
# 开发环境 # 开发环境
# VITE_APP_BASE_API = '/dev-api' # VITE_APP_BASE_API = '/dev-api'
VITE_APP_BASE_API = 'http://42.194.239.145:8005/official'
VITE_APP_BASE_API = 'http://42.194.239.145:8005/prod-api'

+ 1
- 1
.env.production View File

@ -1,3 +1,3 @@
# 生产环境 # 生产环境
VITE_APP_BASE_API = 'https://official-admin.hhlm1688.com/official'
VITE_APP_BASE_API = 'https://official-admin.hhlm1688.com/prod-api'

Loading…
Cancel
Save