mirror of
https://github.com/henry4682/fin_buddy_fe.git
synced 2026-07-16 01:30:00 +00:00
fix: auth url
All checks were successful
Deploy Frontend to 1Panel / build-and-deploy (push) Successful in 18s
All checks were successful
Deploy Frontend to 1Panel / build-and-deploy (push) Successful in 18s
This commit is contained in:
@@ -5,7 +5,7 @@ import { Browser } from '@capacitor/browser';
|
|||||||
|
|
||||||
const handleGoogleLogin = async () => {
|
const handleGoogleLogin = async () => {
|
||||||
console.log("【測試】Google 登入按鈕確實被點擊了!");
|
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 內運行
|
// 📱 如果是在手機 App 內運行
|
||||||
if (Capacitor.isNativePlatform()) {
|
if (Capacitor.isNativePlatform()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user