mirror of https://github.com/muety/wakapi.git
fix: relative swagger-ui definition
Relevant for those hosting wakapi on subdirectory Note: /swagger-ui redirects to /swagger-ui/
This commit is contained in:
parent
cafe4133e4
commit
816d0c8cdc
|
@ -41,7 +41,7 @@
|
|||
window.onload = function() {
|
||||
// Begin Swagger UI call region
|
||||
const ui = SwaggerUIBundle({
|
||||
url: "/docs/swagger.json",
|
||||
url: "../docs/swagger.json",
|
||||
dom_id: '#swagger-ui',
|
||||
deepLinking: true,
|
||||
presets: [
|
||||
|
|
Loading…
Reference in New Issue