1
1
mirror of https://github.com/ZeroCatDev/ClassworksKV.git synced 2025-10-21 17:53:11 +00:00

更新授权页面地址为环境变量FRONTEND_URL

This commit is contained in:
SunWuyuan 2025-10-06 15:49:29 +08:00
parent 9f4f2a537f
commit 6ab78af370
No known key found for this signature in database
GPG Key ID: A6A54CF66F56BB64
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ const CONFIG = {
// 应用ID
appId: process.env.APP_ID || '1',
// 授权页面地址Classworks前端
authPageUrl: process.env.AUTH_PAGE_URL || 'http://localhost:5173/authorize',
authPageUrl: process.env.FRONTEND_URL,
// 本地回调服务器端口
callbackPort: process.env.CALLBACK_PORT || '8080',
// 回调路径

View File

@ -21,7 +21,7 @@ const CONFIG = {
// 应用ID
appId: process.env.APP_ID || '1',
// 授权页面地址Classworks前端
authPageUrl: process.env.AUTH_PAGE_URL || 'http://localhost:5173/authorize',
authPageUrl: process.env.FRONTEND_URL,
// 轮询间隔(秒)
pollInterval: 3,
// 最大轮询次数