Skip to content

Commit

Permalink
use relative URL (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
lambstream authored Apr 3, 2024
1 parent d54c8da commit b164c12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Helldivers-2-API/wwwroot/redoc.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<!DOCTYPE html>
<redoc spec-url="/Helldivers-2-API.json"></redoc>
<redoc spec-url="Helldivers-2-API.json"></redoc>
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"></script>
2 changes: 1 addition & 1 deletion src/Helldivers-2-API/wwwroot/swagger-ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script>
window.onload = () => {
window.ui = SwaggerUIBundle({
url: '/Helldivers-2-API.json',
url: 'Helldivers-2-API.json',
dom_id: '#swagger-ui',
});
};
Expand Down

0 comments on commit b164c12

Please sign in to comment.