v2: SSE через ВМ (process-v2), убрано с Lucee (v1.0.75)

This commit is contained in:
2026-06-20 10:52:37 +04:00
parent 4e20b7760e
commit 1ecff7c441
4 changed files with 215 additions and 10 deletions
+2 -2
View File
@@ -61,7 +61,7 @@
<body>
<div class="topbar">
<img src="/nubes-logo.svg" alt="Nubes">
<span class="title">Сверка договоров — LLM <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.0.74 — Lucee</span></span>
<span class="title">Сверка договоров — LLM <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.0.75 — Lucee</span></span>
</div>
<div class="content">
@@ -348,7 +348,7 @@ document.getElementById('llmBtnV2').addEventListener('click', function() {
diffStatus.textContent = '⏳ ' + ((Date.now() - llmStart) / 1000).toFixed(1) + 'с';
}, 200);
var es = new EventSource('/process.cfm?contract_id=' + contractId + '&v=2');
var es = new EventSource('https://contracts.kube5s.ru/process-v2?contract_id=' + contractId);
es.onmessage = function(e) {
var d = JSON.parse(e.data);