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

View File

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