Merge pull request #118 from marclave/marc/root-directory-path

fix: add root directory path check
This commit is contained in:
Marc Laventure
2024-04-22 10:57:10 -07:00
committed by GitHub
+1 -1
View File
@@ -110,7 +110,7 @@ export const swagger =
)
}
).get(
`${path}/json`,
path === '/' ? '/json' : `${path}/json`,
() => {
const routes = app.routes as InternalRoute[]