From c673a65c62e168f10a6b7800c6ef2e221bbbee6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sun, 27 Mar 2022 23:13:28 +0200 Subject: [PATCH] swagger: fix relative URLs for subfolder #226 --- layouts/shortcodes/swagger.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/swagger.html b/layouts/shortcodes/swagger.html index 415c4d81ab..8bcf0fa529 100644 --- a/layouts/shortcodes/swagger.html +++ b/layouts/shortcodes/swagger.html @@ -14,7 +14,7 @@ schema-description-expanded="true" schema-style="table" show-header="false" - spec-url="{{ $original | relURL }}" + spec-url="{{ $original }}" sort-tags="true" > {{- .Page.Store.Set "hasSwagger" true }} \ No newline at end of file