fix(settings): защищать восстановление базы от повторов и смены контекста

This commit is contained in:
Denozordec committed 2026-10-03 16:52:02 +07:00
1 parent 92b65a30ce
commit 57293479d1
13 files changed
+148 -188

No files matched your search

+2
View File
@@ -38,6 +38,8 @@ export async function proxyBackendRequest(
const contentDisposition = upstream.headers.get("Content-Disposition")
if (contentType) responseHeaders.set("Content-Type", contentType)
if (contentDisposition) responseHeaders.set("Content-Disposition", contentDisposition)
const databaseOutcome = upstream.headers.get("X-System-Database-Outcome")
if (databaseOutcome) responseHeaders.set("X-System-Database-Outcome", databaseOutcome)
return new Response(upstream.body, {
status: upstream.status,