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 00:44:20 +08:00
parent 65ea3d8946
commit 9380b738f9

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}/auth/google`;
const targetUrl = `${import.meta.env.VITE_BACKEND_URL}/api/auth/google`;
// 📱 如果是在手機 App 內運行
if (Capacitor.isNativePlatform()) {