v1.0.119: fix ZIP — use absolute UNZIP_URL (was relative path → 404)

This commit is contained in:
2026-06-23 08:05:17 +04:00
parent ebe35dce42
commit 5c6fe0da00
+3 -2
View File
@@ -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.118 — Lucee</span></span>
<span class="title">Сверка договоров — LLM AI-driven Event Sourcing <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.0.119 — Lucee</span></span>
</div>
<div class="content">
@@ -176,6 +176,7 @@ lucide.createIcons();
var UPLOAD_URL = 'https://contracts.kube5s.ru/lucee/upload.cfm';
var CONVERT_URL = 'https://contracts.kube5s.ru/convert-doc';
var UNZIP_URL = 'https://contracts.kube5s.ru/unzip-upload';
var SITE_URL = ''; // same origin for api calls
var fileInput = document.getElementById('fileInput');
@@ -258,7 +259,7 @@ fileInput.addEventListener('change', async function() {
renderTable();
try {
var zipResp = await fetch('/unzip-upload', {
var zipResp = await fetch(UNZIP_URL, {
method: 'POST',
body: f,
headers: {'Content-Type': 'application/zip'}