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;