From 76ab493bd7766b48ec5aa17051c7c47c6a5fca25 Mon Sep 17 00:00:00 2001 From: YDrogen Date: Tue, 20 Feb 2024 15:25:12 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix:=20doc=20get-route=20not=20r?= =?UTF-8?q?endering?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 1e0ca0b..b585d7b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -64,7 +64,7 @@ export const swagger = app.get( path, - (() => { + () => { const combinedSwaggerOptions = { url: `${relativePath}/json`, dom_id: '#swagger-ui', @@ -108,7 +108,7 @@ export const swagger = } } ) - })() + } ).get( `${path}/json`, () => {