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: