remove pagespy
Docker Build and Push / build-image (push) Successful in 4m56s

This commit is contained in:
cheney
2026-08-08 18:12:48 +08:00
parent 1b330bdd4d
commit 2fa7c7fc70
6 changed files with 30 additions and 80 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
import { getApiBase, getToken } from './client.js'
import { APP_VERSION, BUILD_ID } from '../version.js'
// 判断是否在 Tauri WebView 内 (与 src/debug/pagespy.js 同样的判定)
// 判断是否在 Tauri WebView 内 (有 __TAURI_INTERNALS__ 即 Tauri 环境)
const inTauri = typeof window !== 'undefined' && '__TAURI_INTERNALS__' in window
// 拼接绝对 URL: 在 Tauri (VITE_API_BASE 有值) 时直连, 否则同源