From ba3fd0066fd650782ff1f354160af7d9d2799620 Mon Sep 17 00:00:00 2001 From: Eugene Formanenko Date: Wed, 28 Apr 2021 21:16:46 +0300 Subject: [PATCH] fix: load swagger file from relative path --- views/redoc.handlebars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/redoc.handlebars b/views/redoc.handlebars index 4681915..60694a2 100644 --- a/views/redoc.handlebars +++ b/views/redoc.handlebars @@ -29,7 +29,7 @@ let themeJSON = '{{{ toJSON data.theme }}}'; if (themeJSON === '') { themeJSON = undefined } Redoc.init( - '{{ data.docUrl }}', + './swagger.json', { ...(themeJSON && { theme: {