From d41438605d10ccd23e5b3cbe0eafe358d846886d Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 14 Oct 2016 17:56:26 +0100 Subject: [PATCH] Use matrix.org for swagger UI In the swagger UI, default to matrix.org rather than localhost, to make the UI more useful. --- scripts/dump-swagger.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/dump-swagger.py b/scripts/dump-swagger.py index ab534ce0..3b40bdb5 100755 --- a/scripts/dump-swagger.py +++ b/scripts/dump-swagger.py @@ -63,7 +63,8 @@ output = { "basePath": "/", "consumes": ["application/json"], "produces": ["application/json"], - "host": "localhost:8008", + "host": "matrix.org:8448", + "schemes": ["https"], "info": { "title": "Matrix Client-Server API", "version": release_label,