feat(backend): rename/group/archive/unarchive/delete/documents routes + resume read-only guard

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-29 12:32:52 +02:00
co-authored by Claude Opus 4.8
parent 4a63db51e8
commit bd29ac517c
3 changed files with 97 additions and 5 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ export function buildApp(config: AppConfig, deps?: BuildAppDeps): FastifyInstanc
app.register(cors, {
origin: true,
credentials: true,
methods: ["GET", "POST", "PUT", "OPTIONS"],
methods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
});
const tht = deps?.thtRunner ?? new ThtRunner({