feat: bind/unbind by id, video streaming proxy, unmute default, library refresh, hamburger click-outside
- Core API: bind/unbind accept id (integer PK) when face_id is null - Tauri proxy: stream video responses instead of buffering for seek bar - VideoPlayer: remove muted attribute, unmute by default - LibraryView: call invalidateFiles() before ensureFiles() on register/unregister - PeopleView: close sort panel on click-outside, not just hamburger toggle - bind_face: prefer face_id, fallback to id when face_id is null
This commit is contained in:
6
src/api/config.ts
Normal file
6
src/api/config.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export const isTauri = typeof window !== 'undefined' && !!(window as any).__TAURI__
|
||||
|
||||
export function getApiBase(): string {
|
||||
if (isTauri) return ''
|
||||
return localStorage.getItem('proxy_url') || window.location.origin
|
||||
}
|
||||
Reference in New Issue
Block a user