mirror of https://github.com/THUDM/ChatGLM-6B
fix html to support not only localhost access
parent
dc3bb5ee38
commit
d38563a73d
|
@ -13,7 +13,7 @@
|
||||||
<ul id='messageBox'>
|
<ul id='messageBox'>
|
||||||
</ul>
|
</ul>
|
||||||
<script>
|
<script>
|
||||||
let ws = new WebSocket("ws://localhost:8000/ws");
|
let ws = new WebSocket("ws://" + location.host + "/ws");
|
||||||
let history = [];
|
let history = [];
|
||||||
let last_message_element = null;
|
let last_message_element = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue