diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 9f376519..89b8e07f 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -22,7 +22,7 @@ }, "csp": { "default-src": "'self' asset: http://asset.localhost", - "connect-src": "ipc: http://ipc.localhost 'self' https://api.github.com", + "connect-src": "'self', asset: http://asset.localhost blob: ipc: http://ipc.localhost https://api.github.com", "img-src": "'self' asset: http://asset.localhost data:", "media-src": "'self' asset: http://asset.localhost blob: data:", "child-src": "'self'; object-src 'self'", diff --git a/src/stores/usePlayerStore.ts b/src/stores/usePlayerStore.ts index b3805eb9..30e6bcdf 100644 --- a/src/stores/usePlayerStore.ts +++ b/src/stores/usePlayerStore.ts @@ -1,4 +1,3 @@ -import { error } from '@tauri-apps/plugin-log'; import debounce from 'lodash-es/debounce'; import type { StateCreator } from 'zustand'; import { persist } from 'zustand/middleware';