diff --git a/docs/AGENTS.md b/docs/AGENTS.md index 5306f30..977e6be 100644 --- a/docs/AGENTS.md +++ b/docs/AGENTS.md @@ -15,7 +15,7 @@ Build a Vue-based PWA in the project root named **Sanasto**. The UI should mirro - Red tint for rows with missing translations. ## Data/API -- Swagger: `https://sanasto.rin.no/api/swagger` +- Swagger: `https://sanasto.wiki/api/swagger` - Endpoint: `GET /api/entries?since=ISO8601` - Entry fields: `id`, `category`, `fi`, `en`, `sv`, `no`, `ru`, `de`, `updated_at`. diff --git a/src/App.vue b/src/App.vue index 6b9d692..a14d373 100644 --- a/src/App.vue +++ b/src/App.vue @@ -182,7 +182,7 @@ onBeforeUnmount(() => { Kristillisyyden sanasto
- + Visit Sanasto Wiki
diff --git a/src/lib/sync.ts b/src/lib/sync.ts index 8b07186..47bf08b 100644 --- a/src/lib/sync.ts +++ b/src/lib/sync.ts @@ -6,7 +6,7 @@ const LAST_SYNC_KEY = 'last_sync_at' export async function syncEntries(db: Database) { const lastSyncAt = getMeta(db, LAST_SYNC_KEY) - const url = new URL('https://sanasto.rin.no/api/entries') + const url = new URL('https://sanasto.wiki/api/entries') if (lastSyncAt) { url.searchParams.set('since', lastSyncAt) }