You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.4 KiB
54 lines
1.4 KiB
###
|
|
# @Author: Fuyuu 1805498209@qq.com
|
|
# @Date: 2023-11-24 10:15:22
|
|
# @LastEditors: Fuyuu 1805498209@qq.com
|
|
# @LastEditTime: 2023-11-28 14:15:57
|
|
# @FilePath: \dt-admin-pc\.env.production
|
|
# @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
###
|
|
# 是否启用mock
|
|
VITE_USE_MOCK = false
|
|
|
|
# 发布路径
|
|
VITE_PUBLIC_PATH = ./
|
|
|
|
# 控制台不输出
|
|
VITE_DROP_CONSOLE = true
|
|
|
|
# 是否启用gzip或brotli压缩
|
|
# 选项值: gzip | brotli | none
|
|
# 如果需要多个可以使用“,”分隔
|
|
VITE_BUILD_COMPRESS = 'gzip'
|
|
|
|
# 使用压缩时是否删除原始文件,默认为false
|
|
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
|
|
|
|
#后台接口父地址(必填)
|
|
VITE_GLOB_API_URL=http://127.0.0.1:8088/dt/
|
|
|
|
#后台接口全路径地址(必填)
|
|
VITE_GLOB_DOMAIN_URL=http://127.0.0.1:8088/dt/
|
|
|
|
# 接口父路径前缀
|
|
VITE_GLOB_API_URL_PREFIX=
|
|
|
|
# 是否启用图像压缩
|
|
VITE_USE_IMAGEMIN= true
|
|
|
|
# 使用pwa
|
|
VITE_USE_PWA = false
|
|
|
|
# 是否兼容旧浏览器
|
|
VITE_LEGACY = false
|
|
|
|
|
|
#地图地址
|
|
VITE_GLOB_EARTHMAP_URL=http://127.0.0.1:8088/dt/
|
|
#地图地址-卫星
|
|
VITE_GLOB_SATELLITE_URL=/mapTile/satellite_zh/
|
|
#地图地址-矢量
|
|
VITE_GLOB_VECTOR_URL=/mapTile/vector_zh/
|
|
#地图地址-地形
|
|
VITE_GLOB_TERRAIN_URL=/mapTile/terrain_zh/
|
|
#静态资源
|
|
#VITE_GLOB_STATICDOMAIN_URL=VITE_GLOB_DOMAIN_URL + '/sys/common/static'
|
|
|