Skip to content

Commit

Permalink
fixes #99: Don't hard-code OpenAPI yaml link to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
Fishbowler authored and Redor committed Apr 21, 2022
1 parent ee56951 commit 0b8b86a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ <h1>

<p><b>1.8.1</b> ???</p>
<ul>
<li>[<a href='https://github.com/igniterealtime/openfire-restAPI-plugin/issues/99'>#99</a>] - Fix hard-coded link to localhost for OpenAPI yaml link in docs.</li>
<li>[<a href='https://github.com/igniterealtime/openfire-restAPI-plugin/issues/96'>#96</a>] - Don't require auth for readiness/liveness endpoints</li>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion src/web/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
window.onload = function() {
// Begin Swagger UI call region
const ui = SwaggerUIBundle({
url: "http://localhost:9090/plugins/restapi/v1/openapi.yaml",
url: window.location.origin + "/plugins/restapi/v1/openapi.yaml",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
Expand Down

0 comments on commit 0b8b86a

Please sign in to comment.