v1.0.125: Sonnet fix — CORS inside nginx if, raw binary ZIP, multipart fallback
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
<body>
|
||||
<div class="topbar">
|
||||
<img src="/nubes-logo.svg" alt="Nubes">
|
||||
<span class="title">Сверка договоров — LLM AI-driven Event Sourcing <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.0.124 — Lucee</span></span>
|
||||
<span class="title">Сверка договоров — LLM AI-driven Event Sourcing <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.0.125 — Lucee</span></span>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
@@ -259,9 +259,11 @@ fileInput.addEventListener('change', async function() {
|
||||
renderTable();
|
||||
|
||||
try {
|
||||
var fd = new FormData();
|
||||
fd.append('file', f);
|
||||
var zipResp = await fetch(UNZIP_URL, { method: 'POST', body: fd });
|
||||
var zipResp = await fetch(UNZIP_URL, {
|
||||
method: 'POST',
|
||||
body: f,
|
||||
headers: {'Content-Type': 'application/zip'}
|
||||
});
|
||||
var zipData = await zipResp.json();
|
||||
if (!zipData.ok || !zipData.files) throw new Error('unzip failed');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user