From 9fdd26b50e17c757dfa4a0874d87d929ac9ac242 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Tue, 27 Oct 2020 23:12:48 +0100 Subject: Remove api prefix from path This change removes the `api` prefix required by the API server in the path, given that we have started to host the API on its own domain (api.opendc.org) and thus does not need a prefix. --- api/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/main.py') diff --git a/api/main.py b/api/main.py index 93b772a1..387b516a 100755 --- a/api/main.py +++ b/api/main.py @@ -79,7 +79,7 @@ def sign_in(): return jsonify(**data) -@FLASK_CORE_APP.route('/api//', methods=['GET', 'POST', 'PUT', 'DELETE']) +@FLASK_CORE_APP.route('//', methods=['GET', 'POST', 'PUT', 'DELETE']) def api_call(version, endpoint_path): """Call an API endpoint directly over HTTP.""" -- cgit v1.2.3