make server local
This commit is contained in:
parent
1145fc7fa0
commit
62f252130e
@ -12,8 +12,8 @@ def main():
|
|||||||
random.seed()
|
random.seed()
|
||||||
wiz_game.the_game.start_game()
|
wiz_game.the_game.start_game()
|
||||||
|
|
||||||
#api.run(port=8001, address="127.0.0.1")
|
api.run(port=8001, address="127.0.0.1")
|
||||||
api.run(port=8001, address="192.168.42.100")
|
#api.run(port=8001, address="192.168.42.100")
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,7 +22,8 @@
|
|||||||
<script src="//oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
<script src="//oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<script>
|
<script>
|
||||||
let socket = new WebSocket("wss://cowiz.struppi.name/ws");
|
// let socket = new WebSocket("wss://cowiz.struppi.name/ws");
|
||||||
|
let socket = new WebSocket("ws://127.0.0.1:8001/ws");
|
||||||
window.game_socket = socket
|
window.game_socket = socket
|
||||||
|
|
||||||
socket.onopen = function(e) {
|
socket.onopen = function(e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user