fix: auth url
All checks were successful
Deploy Frontend to 1Panel / build-and-deploy (push) Successful in 18s

This commit is contained in:
2026-06-26 01:19:26 +08:00
parent 9380b738f9
commit 86af2b3200

View File

@@ -5,7 +5,7 @@ import { Browser } from '@capacitor/browser';
const handleGoogleLogin = async () => {
console.log("【測試】Google 登入按鈕確實被點擊了!");
const targetUrl = `${import.meta.env.VITE_BACKEND_URL}/api/auth/google`;
const targetUrl = `${import.meta.env.VITE_BACKEND_URL}/auth/google`;
// 📱 如果是在手機 App 內運行
if (Capacitor.isNativePlatform()) {