加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.env.demo 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
mldong 提交于 2024-07-21 17:40 . 增加demo-py配置,兼容flask版
NODE_ENV=production
# Whether to open mock
VITE_USE_MOCK = false
# public path
VITE_PUBLIC_PATH = /
# Delete console
VITE_DROP_CONSOLE = true
# Whether to enable gzip or brotli compression
# Optional: gzip | brotli | none
# If you need multiple forms, you can use `,` to separate
VITE_BUILD_COMPRESS = 'none'
# Whether to delete origin files when using compress, default false
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
# Basic interface address SPA
VITE_GLOB_API_URL=/api
# File upload address, optional
# It can be forwarded by nginx or write the actual address directly
VITE_GLOB_UPLOAD_URL=/api/sys/fileInfo/upload
# Interface prefix
VITE_GLOB_API_URL_PREFIX=
# Whether to enable image compression
VITE_USE_IMAGEMIN= true
# use pwa
VITE_USE_PWA = false
# Is it compatible with older browsers
VITE_LEGACY = false
# 码云 Client ID
VITE_APP_GITEE_CLIENT_ID = 646db6ccf7cbef6f5d4a4527669d3fddd9c0063a6c9c5ed2e6bebd7d94868347
# 码云 Redirect URI
VITE_APP_GITEE_REDIRECT_URI = https://flow.mldong.com/oauth/gitee
# 码云仓库地址
VITE_APP_GITEE_REPOSITORY = https://gitee.com/mldong/mldong
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化