Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / CI OK (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
24 lines
437 B
Plaintext
24 lines
437 B
Plaintext
# 生产环境配置
|
|
VITE_BASE=/
|
|
|
|
# 接口地址
|
|
VITE_GLOB_API_URL=/api/admin
|
|
|
|
# 是否开启压缩,可以设置为 none, brotli, gzip
|
|
VITE_COMPRESS=gzip
|
|
|
|
# 是否开启 PWA
|
|
VITE_PWA=false
|
|
|
|
# vue-router 的模式
|
|
VITE_ROUTER_HISTORY=createWebHashHistory
|
|
|
|
# 是否注入全局loading
|
|
VITE_INJECT_APP_LOADING=true
|
|
|
|
# 打包后是否生成dist.zip
|
|
VITE_ARCHIVER=true
|
|
|
|
# WebSocket 连接地址
|
|
VITE_WS_URL=wss://api.ws.g.xiaokang88.com/ws
|