chrome osx disables ipv6 without global ipv6 address

This commit is contained in:
j 2015-02-22 16:51:48 +05:30
parent 5769140845
commit 848e498a49
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ import SocketServer
from threading import Thread
PORT = 9842
PORT = 9841
static_dir = os.path.normpath(os.path.join(os.path.abspath(os.path.dirname(__file__)), '..', 'Resources', 'static'))

View file

@ -1,5 +1,5 @@
function load() {
var base = '//[::1]:9842',
var base = '//127.0.0.1:9842',
ws = new WebSocket('ws:' + base + '/ws');
ws.onopen = function(event) {
document.location.href = 'http:' + base;