made path to bindapi.json relative

Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
tracer 2022-02-19 18:24:04 +01:00
parent d3346cf9e5
commit ffe1ccedcb
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
window.onload = function () { window.onload = function () {
// Begin Swagger UI call region // Begin Swagger UI call region
const ui = SwaggerUIBundle({ const ui = SwaggerUIBundle({
url: "https://ns2.24unix.net/openapi/bindapi.json", url: "/openapi/bindapi.json",
dom_id: "#swagger-ui", dom_id: "#swagger-ui",
deepLinking: true, deepLinking: true,
presets: [ presets: [