Browse Source

环境变量 —— 非必要请勿提前修改

master
DIAMOND 1 year ago
parent
commit
65e8f428f2
  1. 8
      .env.production

8
.env.production

@ -7,10 +7,10 @@
# @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
###
# 是否启用mock
VITE_USE_MOCK = true
VITE_USE_MOCK = false
# 发布路径
VITE_PUBLIC_PATH = /
VITE_PUBLIC_PATH = ./
# 控制台不输出
VITE_DROP_CONSOLE = true
@ -24,10 +24,10 @@ VITE_BUILD_COMPRESS = 'gzip'
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
#后台接口父地址(必填)
VITE_GLOB_API_URL=http://192.168.1.174:8088/dt/
VITE_GLOB_API_URL=http://127.0.0.1:8088/dt/
#后台接口全路径地址(必填)
VITE_GLOB_DOMAIN_URL=http://192.168.1.174:8088/dt/
VITE_GLOB_DOMAIN_URL=http://127.0.0.1:8088/dt/
# 接口父路径前缀
VITE_GLOB_API_URL_PREFIX=

Loading…
Cancel
Save