Skip to content

Commit

Permalink
fix: relative links don't work with a proxy (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain authored May 13, 2024
1 parent caf4f36 commit 95e06e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions api/doc/stoplight-ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Thor API</title>
<!-- Embed elements Elements via Web Component -->
<script src="./web-components.min.js"></script>
<script charset="UTF-8" src="./window-observer.js"> </script>
<link href="./styles.min.css" rel="stylesheet">
<script src="/doc/stoplight-ui/web-components.min.js"></script>
<script charset="UTF-8" src="/doc/stoplight-ui/window-observer.js"> </script>
<link href="/doc/stoplight-ui/styles.min.css" rel="stylesheet">
<link href="/doc/icons/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png" />
<link href="/doc/icons/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png" />
<link href="/doc/icons/favicon-96x96.png" rel="icon" sizes="96x96" type="image/png" />
Expand Down
8 changes: 4 additions & 4 deletions api/doc/swagger-ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
<head>
<meta charset="utf-8" />
<title>Thor Swagger</title>
<link href="./swagger-ui.css" rel="stylesheet" />
<link href="/doc/swagger-ui/swagger-ui.css" rel="stylesheet" />
<link href="/doc/icons/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png" />
<link href="/doc/icons/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png" />
<link href="/doc/icons/favicon-96x96.png" rel="icon" sizes="96x96" type="image/png" />
</head>
<body>
<div id="swagger-ui"></div>
<script charset="UTF-8" src="./window-observer.js"> </script>
<script crossorigin src="./swagger-ui-bundle.js"></script>
<script crossorigin src="./swagger-ui-standalone-preset.js"></script>
<script charset="UTF-8" src="/doc/swagger-ui/window-observer.js"> </script>
<script crossorigin src="/doc/swagger-ui/swagger-ui-bundle.js"></script>
<script crossorigin src="/doc/swagger-ui/swagger-ui-standalone-preset.js"></script>
<script>
window.onload = () => {
window.ui = SwaggerUIBundle({
Expand Down

0 comments on commit 95e06e8

Please sign in to comment.