Skip to content

Commit

Permalink
Fixes missing httpprefix (#8676)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoBiscosi committed Sep 4, 2024
1 parent e48cc13 commit 4a613a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lua/swagger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ print [[
<script>
window.onload = function() {
const ui = SwaggerUIBundle({
url: "/misc/rest-api-v2.json",
url: "]] print(ntop.getHttpPrefix()) print[[/misc/rest-api-v2.json",
dom_id: '#swagger-ui',
presets: [
SwaggerUIBundle.presets.apis,
Expand Down

0 comments on commit 4a613a8

Please sign in to comment.