fix: change config
All checks were successful
Laravel-Oracle-Deploy / redeploy (push) Successful in 6s

This commit is contained in:
2026-06-30 17:15:59 +08:00
parent 436047c1e8
commit 0941d2bbb9
2 changed files with 2 additions and 1 deletions

View File

@@ -46,6 +46,6 @@ class GoogleAuthController extends Controller
$token = $user->createToken('auth_token')->plainTextToken;
// 把 token 帶回前端
return redirect(env('APP_URL') . "/#/auth/callback?token={$token}&name=" . urlencode($user->name));
return redirect(config('app.url') . "/#/auth/callback?token={$token}&name=" . urlencode($user->name));
}
}