mirror of
https://github.com/zoriya/elysia-swagger.git
synced 2026-06-01 05:17:31 +00:00
Merge pull request #118 from marclave/marc/root-directory-path
fix: add root directory path check
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ export const swagger =
|
||||
)
|
||||
}
|
||||
).get(
|
||||
`${path}/json`,
|
||||
path === '/' ? '/json' : `${path}/json`,
|
||||
() => {
|
||||
const routes = app.routes as InternalRoute[]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user