fix: use 127.0.0.1 for WebSocket when host is localhost/::1 to avoid IPv6 fallback delay (~300ms)

This commit is contained in:
2026-08-26 22:45:56 +07:00
parent fa01ef02f7
commit 9ccc28d211
3 changed files with 19 additions and 5 deletions
+1 -1
View File
@@ -51,7 +51,7 @@
<script src="/static/js/services/promptTemplateManager.js?v=202607281039"></script>
<script src="/static/js/services/undoRedoEngine.js?v=202607290941"></script>
<script src="/static/js/services/chordTheory.js?v=202608211300"></script>
<script src="/static/js/app.precompiled.js?v=202608231800" defer></script>
<script src="/static/js/app.precompiled.js?v=202608262200" defer></script>
<link rel="stylesheet" href="/static/css/styles.css?v=202607271016">
<style>
:root {