aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-09-26 17:56:37 +0200
committerneodarz <neodarz@neodarz.net>2019-09-26 17:56:37 +0200
commit46faf6dd176b279cdc13ef9cf1397d18158a2b92 (patch)
tree187f5785e68573915288dca310a4403763895bc7
parente7446855b668d84be6f516ffe94e71fb88f3cc56 (diff)
downloadumosapicpp-46faf6dd176b279cdc13ef9cf1397d18158a2b92.tar.xz
umosapicpp-46faf6dd176b279cdc13ef9cf1397d18158a2b92.zip
Fix swagger-ui loading
-rw-r--r--swagger-ui/index.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/swagger-ui/index.html b/swagger-ui/index.html
index e6df338..9bc580d 100644
--- a/swagger-ui/index.html
+++ b/swagger-ui/index.html
@@ -39,8 +39,7 @@
window.onload = function() {
// Begin Swagger UI call region
const ui = SwaggerUIBundle({
- url: 'http://someserver/openapi.json',
- configUrl: '/swagger-config.yaml',
+ url: '/api',
dom_id: '#swagger-ui',
deepLinking: true,
presets: [