- Remove 'roles' from .env.development and .env.production - Remove 'roles' from SeedData.cs - 403 error was caused by requesting unregistered scope - All registered scopes: openid, profile, email, api, offline_access
26 lines
644 B
Plaintext
26 lines
644 B
Plaintext
VITE_BASE=/
|
|
|
|
# 接口地址 - Fengling Console Backend (请根据实际部署环境修改)
|
|
VITE_GLOB_API_URL=https://api.yourdomain.com/api
|
|
|
|
# 是否开启压缩,可以设置为 none, brotli, gzip
|
|
VITE_COMPRESS=none
|
|
|
|
# 是否开启 PWA
|
|
VITE_PWA=false
|
|
|
|
# vue-router 的模式
|
|
VITE_ROUTER_HISTORY=hash
|
|
|
|
# 是否注入全局loading
|
|
VITE_INJECT_APP_LOADING=true
|
|
|
|
# 打包后是否生成dist.zip
|
|
VITE_ARCHIVER=true
|
|
|
|
# OAuth 认证中心配置
|
|
VITE_AUTH_SERVICE_URL=https://auth.yourdomain.com
|
|
VITE_OAUTH_CLIENT_ID=fengling-console
|
|
VITE_OAUTH_REDIRECT_URI=https://your-app.com/auth/callback
|
|
VITE_OAUTH_SCOPE=api offline_access openid profile email
|