diff options
| author | 2019-09-13 15:49:32 +0100 | |
|---|---|---|
| committer | 2019-09-13 15:49:32 +0100 | |
| commit | ea34091a8302bb906d9c370548db2a775a495fe4 (patch) | |
| tree | f38886c2baddfe9b088f0d1b80fbe58f4efd7571 /modules | |
| parent | move fediverse_server to a directory module, add rough outline of toot (diff) | |
| signature | ||
default REST API port to 5001, not 5000
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/rest_api.py | 2 |
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: |
