From 848e498a49b193815f5a17317b8d3b72df97832d Mon Sep 17 00:00:00 2001 From: j Date: Sun, 22 Feb 2015 16:51:48 +0530 Subject: [PATCH] chrome osx disables ipv6 without global ipv6 address --- Open Media Library.app/Contents/MacOS/install.py | 2 +- Open Media Library.app/Contents/Resources/static/js/install.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Open Media Library.app/Contents/MacOS/install.py b/Open Media Library.app/Contents/MacOS/install.py index 31adf0f..2f53a9d 100755 --- a/Open Media Library.app/Contents/MacOS/install.py +++ b/Open Media Library.app/Contents/MacOS/install.py @@ -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')) diff --git a/Open Media Library.app/Contents/Resources/static/js/install.js b/Open Media Library.app/Contents/Resources/static/js/install.js index d107042..1cf4965 100644 --- a/Open Media Library.app/Contents/Resources/static/js/install.js +++ b/Open Media Library.app/Contents/Resources/static/js/install.js @@ -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;