Skip to content

Commit

Permalink
Site: Navigate the site to swagger redirection (#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
singhpk234 authored Feb 5, 2025
1 parent 20817e1 commit c3f0681
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 0 additions & 7 deletions site/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,3 @@ privacy:
youtube:
privacyEnhanced: true

server:
headers:
for: /**
values:
Content-Security-Policy: >2
script-src 'self' https://cdn.jsdelivr.net 'unsafe-inline' 'unsafe-eval' https://analytics.apache.org/ https://cdn.jsdelivr.net
3 changes: 2 additions & 1 deletion site/layouts/shortcodes/redoc-polaris.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,5 @@
<!--
Link to Redoc JavaScript on CDN for rendering standalone element
-->
<script src="https://cdn.jsdelivr.net/npm/redoc@latest/bundles/redoc.standalone.js"></script>

<meta http-equiv="refresh" content="0; url=http://editor.swagger.io/?url={{ $url }}" />

0 comments on commit c3f0681

Please sign in to comment.