diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2014-01-01 15:04:53 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2014-01-01 15:04:53 +0100 |
commit | 0be30cb0ca9590b481d1002f528e666143a44cc6 (patch) | |
tree | 14228063b83bf2872cc15f3d080187dc7f40a24d | |
parent | Happy new year! (diff) | |
download | pyload-0be30cb0ca9590b481d1002f528e666143a44cc6.tar.xz |
changed ws port to avoid conflicts
-rw-r--r-- | pyload/config/default.py | 2 | ||||
-rw-r--r-- | pyload/remote/WSClient.py | 2 | ||||
-rw-r--r-- | pyload/web/app/index.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/pyload/config/default.py b/pyload/config/default.py index 26152a09a..530bb35dc 100644 --- a/pyload/config/default.py +++ b/pyload/config/default.py @@ -63,7 +63,7 @@ def make_config(config): ("https", "bool", _("Use HTTPS"), False), ("port", "int", _("Port"), 8001), ("wsHost", "ip", _("IP"), "0.0.0.0"), - ("wsPort", "int", _("Port"), 7227), + ("wsPort", "int", _("Port"), 7447), ("develop", "bool", _("Development mode"), False), ]) diff --git a/pyload/remote/WSClient.py b/pyload/remote/WSClient.py index 0e58c6afa..c3ed11ee7 100644 --- a/pyload/remote/WSClient.py +++ b/pyload/remote/WSClient.py @@ -8,7 +8,7 @@ from json_converter import loads, dumps from apitypes import Unauthorized, Forbidden class WSClient: - URL = "ws://localhost:7227/api" + URL = "ws://localhost:7447/api" def __init__(self, url=None): self.url = url or self.URL diff --git a/pyload/web/app/index.html b/pyload/web/app/index.html index 00216ab69..7759b0cfa 100644 --- a/pyload/web/app/index.html +++ b/pyload/web/app/index.html @@ -40,7 +40,7 @@ window.hostPort = configValue('{{web}}', '8001'); window.external = configValue('{{external}}', 'true').toLowerCase(); window.pathPrefix = configValue('{{prefix}}', ''); - window.wsAddress = configValue('{{ws}}', 'ws://%s:7227'); + window.wsAddress = configValue('{{ws}}', 'ws://%s:7447'); window.setup = configValue('{{setup}}', 'false').toLowerCase(); require(['config'], function(Config) { |