From f51e22d04579fe4dae694a4c4f0ee3c998453ad3 Mon Sep 17 00:00:00 2001
From: Georg Krause <mail@georg-krause.net>
Date: Sat, 13 Mar 2021 21:18:55 +0100
Subject: [PATCH] Fix swagger build by replacing faulty default URL

---
 docs/build_swagger.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/build_swagger.sh b/docs/build_swagger.sh
index a33183e2bc..e3b233955a 100755
--- a/docs/build_swagger.sh
+++ b/docs/build_swagger.sh
@@ -7,4 +7,4 @@ git clone --branch="v$SWAGGER_VERSION" --depth=1 "https://github.com/swagger-api
 mv /tmp/swagger-ui/dist $TARGET_PATH
 cp swagger.yml $TARGET_PATH
 cp -r api $TARGET_PATH/api
-sed -i "s,http://petstore.swagger.io/v2/swagger.json,swagger.yml,g" $TARGET_PATH/index.html
+sed -i "s,https://petstore.swagger.io/v2/swagger.json,swagger.yml,g" $TARGET_PATH/index.html
-- 
GitLab