chore: adjustments for local development without containers (#21)

* chore: adjustments for local development without containers

* update Contributing.md

* remove dev section from readme and link to contributing doc

* move settings import to runtime
This commit is contained in:
Arno
2026-04-05 17:18:56 +02:00
committed by GitHub
parent e84f2d6127
commit 70809b3d7d
26 changed files with 564 additions and 367 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import { browser } from '$app/environment';
import { api } from '$lib/api/client';
import { libraryStore } from '$lib/stores/library';
import { getApiUrl } from '$lib/utils/api';
export type SyncStatus = {
is_syncing: boolean;
@@ -128,7 +129,7 @@ function createSyncStatusStore() {
eventSource = null;
}
eventSource = new EventSource('/api/v1/cache/sync/stream');
eventSource = new EventSource(getApiUrl('/api/v1/cache/sync/stream'));
eventSource.onopen = () => {
connectionMode = 'sse';