Skip to content

Commit

Permalink
Update swagger (Fix XSS in swagger-ui)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmattheis committed Jan 10, 2023
1 parent 056cd5e commit 501aa95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ var ui = `
<body>
<div id="swagger-ui"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.20.5/swagger-ui-bundle.js"> </script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.20.5/swagger-ui-standalone-preset.js"> </script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.15.5/swagger-ui-bundle.js"> </script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.15.5/swagger-ui-standalone-preset.js"> </script>
<script>
function getBaseURL() {
var path = window.location.pathname
Expand Down

0 comments on commit 501aa95

Please sign in to comment.