use sanasto.wiki

This commit is contained in:
2026-02-06 02:37:24 +01:00
parent ef330fd10f
commit 7e3d0e70aa
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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. - Red tint for rows with missing translations.
## Data/API ## Data/API
- Swagger: `https://sanasto.rin.no/api/swagger` - Swagger: `https://sanasto.wiki/api/swagger`
- Endpoint: `GET /api/entries?since=ISO8601` - Endpoint: `GET /api/entries?since=ISO8601`
- Entry fields: `id`, `category`, `fi`, `en`, `sv`, `no`, `ru`, `de`, `updated_at`. - Entry fields: `id`, `category`, `fi`, `en`, `sv`, `no`, `ru`, `de`, `updated_at`.
+1 -1
View File
@@ -182,7 +182,7 @@ onBeforeUnmount(() => {
<span class="brand-light">Kristillisyyden sanasto</span> <span class="brand-light">Kristillisyyden sanasto</span>
</div> </div>
<div class="header-actions"> <div class="header-actions">
<a class="link-button" href="https://sanasto.rin.no" target="_blank" rel="noopener noreferrer"> <a class="link-button" href="https://sanasto.wiki" target="_blank" rel="noopener noreferrer">
Visit Sanasto Wiki Visit Sanasto Wiki
</a> </a>
</div> </div>
+1 -1
View File
@@ -6,7 +6,7 @@ const LAST_SYNC_KEY = 'last_sync_at'
export async function syncEntries(db: Database) { export async function syncEntries(db: Database) {
const lastSyncAt = getMeta(db, LAST_SYNC_KEY) 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) { if (lastSyncAt) {
url.searchParams.set('since', lastSyncAt) url.searchParams.set('since', lastSyncAt)
} }