准备重构nginx的配置,先回退api-config配置,添加PM2的多端口服务的启动脚步

This commit is contained in:
2025-07-25 15:06:47 +08:00
parent ccd5cdf71e
commit d465260daf
11 changed files with 238 additions and 309 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
try {
// 创建OAuth客户端
const oauthClient = new OAuthClient(OAUTH_CONFIG.value);
const oauthClient = new OAuthClient(OAUTH_CONFIG);
// 获取访问令牌
const tokenResponse = await oauthClient.getAccessToken(code);