Skip to content

Commit

Permalink
fixes igniterealtime#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 committed Apr 18, 2022
1 parent 315922b commit 10f8743
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ <h1>
REST API Plugin Changelog
</h1>

<p><b>1.8.1</b> ???</p>
<ul>
<li>[<a href='https://github.com/igniterealtime/openfire-restAPI-plugin/issues/99'>#99</a>] - Add endpoints for readiness and liveness.</li>
</ul>

<p><b>1.8.0</b> April 6, 2022</p>
<ul>
<li>[<a href='https://github.com/igniterealtime/openfire-restAPI-plugin/issues/76'>#76</a>] - Add a clustering status endpoint</li>
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 10f8743

Please sign in to comment.