v2 refacting
This commit is contained in:
+7
-4
@@ -6,12 +6,15 @@
|
||||
VITE_MODE_NAME=development
|
||||
|
||||
# 资源 CDN 前缀
|
||||
VITE_RES_URL=http://localhost:3000/
|
||||
VITE_RES_URL=http://localhost:5173/
|
||||
|
||||
# 后端 API 基础地址
|
||||
# dev: http://localhost:8080/auth
|
||||
# ⚠️ 本地必须写前端自己(http://localhost:5173),由 Vite proxy 转发
|
||||
# 写 http://localhost:8080/auth 会让浏览器绕过 proxy 直连 8080
|
||||
# dev: http://localhost:5173
|
||||
# dev (K8s): https://dev.violin-home.cn
|
||||
# prod: https://www.violin-home.cn
|
||||
VITE_APP_URL=http://localhost:8080/auth
|
||||
VITE_APP_URL=http://localhost:5173
|
||||
|
||||
# 应用元信息
|
||||
VITE_APP_TITLE=violin-home
|
||||
@@ -35,7 +38,7 @@ VITE_OIDC_ISSUER=https://auth.violin-work.online
|
||||
VITE_OIDC_CLIENT_ID=
|
||||
|
||||
# 回调 URI(必须与 Authentik 后台配置的完全一致)
|
||||
# dev: http://localhost:3000/auth/callback
|
||||
# dev: http://localhost:5173/auth/callback
|
||||
# prod: https://www.violin-home.cn/auth/callback
|
||||
VITE_OIDC_REDIRECT_URI=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user