refactor: improve database initialization and news fetching structure

This commit is contained in:
2025-08-01 21:57:13 +02:00
parent 3a1c817381
commit e22f3a627a
8 changed files with 552 additions and 400 deletions

View File

@@ -12,7 +12,7 @@ onMounted(async () => {
async function update() {
saving.value = true;
await fetch('/settings/cron', {
method: 'PUT',
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({hours: hours.value})
});