Skip to content

Commit

Permalink
swagger: javascript code does not load in documentation matcornic#285
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Jun 23, 2022
1 parent 3e48914 commit 88a769f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
{{- else if isset .Site.Params "customswaggerurl" }}
<script src="{{ .Site.Params.customSwaggerURL }}"></script>
{{- else }}
<script src="{{ "/js/rapidoc-min.js" | relURL }}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
<script src="{{ "js/rapidoc-min.js" | relURL }}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
{{- end }}
{{- if isset .Params "swaggerinitialize" }}
{{- $.Scratch.Set "swaggerInitialize" .Params.swaggerInitialize }}
Expand Down

0 comments on commit 88a769f

Please sign in to comment.