This commit is contained in:
mike
2026-06-28 00:51:07 +02:00
parent 19e0656ccb
commit 3f91694491
5 changed files with 341 additions and 96 deletions

View File

@@ -101,7 +101,10 @@
<div id="toast"></div>
<script>
const API = window.location.origin;
let API = window.location.origin;
if (API === 'null' || API.startsWith('file://')) {
API = 'http://127.0.0.1:8500';
}
function showToast(msg) {
const t = document.getElementById('toast');