refactor: convert Komga config to Server Action

- Add src/app/actions/config.ts with saveKomgaConfig
- Update KomgaSettings to use Server Action
- Remove POST from api/komga/config route (keep GET)
This commit is contained in:
2026-02-28 10:56:52 +01:00
parent 6180f9abb1
commit 0548215096
4 changed files with 57 additions and 55 deletions

View File

@@ -12,6 +12,7 @@
| `DELETE /api/komga/favorites` | `removeFromFavorites()` | ✅ Done |
| `PUT /api/preferences` | `updatePreferences()` | ✅ Done |
| `POST /api/komga/libraries/[libraryId]/scan` | `scanLibrary()` | ✅ Done |
| `POST /api/komga/config` | `saveKomgaConfig()` | ✅ Done |
---