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