fix(config): улучшить обработку URL для бэкенда и увеличить таймаут запросов
Docker images / prepare-release (push) Successful in 6s
Docker images / backend-image (push) Successful in 1m36s
Docker images / frontend-image (push) Successful in 1m39s
Docker images / updater-image (push) Successful in 50s
Docker images / notify-webhook (push) Has been skipped
Docker images / publish-release (push) Successful in 8s

This commit is contained in:
Denozordec
2026-05-12 23:19:51 +07:00
parent 158fc36294
commit 399871f4f9
8 changed files with 83 additions and 10 deletions
+1 -2
View File
@@ -56,11 +56,10 @@ export async function restoreSystemDatabaseBackup(baseUrl: string, file: File):
413,
)
}
const body = await file.arrayBuffer()
const res = await fetch(resolveDatabaseApiUrl(baseUrl, "/api/system/database/restore"), {
method: "POST",
headers: { "Content-Type": "application/octet-stream" },
body,
body: file,
})
if (!res.ok) {
const payload = await res.json().catch(() => undefined)