Compare commits

...
1 Commits
Author SHA1 Message Date
MythEclipseandClaude 4b252a1d5d fix(tauri): enable withGlobalTauri so Tauri APIs work on live web
Without this, the redirect page loads zeavisedu.asepharyana.my.id but
__TAURI_INTERNALS__ is not injected, so isTauri() returns false,
handleGoogleLogin uses window.location.href (WebView navigation), and
Google blocks embedded WebView since 2016.

With withGlobalTauri=true, the live web page detects Tauri, uses tauri-
plugin-opener to open system browser, and Google OAuth works.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-16 04:01:38 +07:00
+1 -1
View File
@@ -10,7 +10,7 @@
"beforeDevCommand": "echo 'Dev mode - connect to localhost:5173'" "beforeDevCommand": "echo 'Dev mode - connect to localhost:5173'"
}, },
"app": { "app": {
"withGlobalTauri": false, "withGlobalTauri": true,
"windows": [ "windows": [
{ {
"title": "ZeaVis Edu", "title": "ZeaVis Edu",