Skip to content

Commit

Permalink
fix #14
Browse files Browse the repository at this point in the history
  • Loading branch information
pei0804 committed Mar 24, 2019
1 parent d2bf002 commit 223864d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swagger.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const indexTempl = `<!-- HTML for static distribution bundle build -->
window.onload = function() {
// Build a system
const ui = SwaggerUIBundle({
url: document.location.href.replace("index.html", "") + "{{.Host}}",
url: "{{.Host}}",
deepLinking: true,
dom_id: '#swagger-ui',
validatorUrl: null,
Expand Down

0 comments on commit 223864d

Please sign in to comment.