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:
@@ -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 |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user