default REST API port to 5001, not 5000

This commit is contained in:
jesopo 2019-09-13 15:49:32 +01:00
parent b835c109a0
commit ea34091a83

View file

@ -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: