default REST API port to 5001, not 5000
This commit is contained in:
parent
b835c109a0
commit
ea34091a83
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
|
||||||
if "Host" in headers:
|
if "Host" in headers:
|
||||||
host, _, port = headers["Host"].partition(":")
|
host, _, port = headers["Host"].partition(":")
|
||||||
if not port:
|
if not port:
|
||||||
port = _bot.config.get("api-port", "5000")
|
port = _bot.config.get("api-port", "5001")
|
||||||
|
|
||||||
get_params_str = ""
|
get_params_str = ""
|
||||||
if get_params:
|
if get_params:
|
||||||
|
|
Loading…
Reference in a new issue