fix(settings): защищать восстановление базы от повторов и смены контекста
This commit is contained in:
1 parent
92b65a30ce
commit
57293479d1
13 files changed
+148
-188
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user