aboutsummaryrefslogtreecommitdiff
path: root/modules/rest_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rest_api.py')
-rw-r--r--modules/rest_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest_api.py b/modules/rest_api.py
index 0d3b408d..11fad40b 100644
--- a/modules/rest_api.py
+++ b/modules/rest_api.py
@@ -78,7 +78,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
if "Host" in headers:
host, _, port = headers["Host"].partition(":")
if not port:
- port = _bot.config.get("api-port", "5000")
+ port = _bot.config.get("api-port", "5001")
get_params_str = ""
if get_params: