We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 613ef94 commit 542a6b1Copy full SHA for 542a6b1
backend/api/src/app.ts
@@ -113,7 +113,9 @@ swaggerDocument.info = {
113
}
114
};
115
116
-app.use(pathWithPrefix(""), swaggerUi.serve, swaggerUi.setup(swaggerDocument))
+const rootPath = pathWithPrefix("/")
117
+app.get(rootPath, swaggerUi.setup(swaggerDocument))
118
+app.use(rootPath, swaggerUi.serve)
119
120
app.options('*', allowCorsUnrestricted)
121
common/src/api/utils.ts
@@ -1,5 +1,4 @@
1
import { ENV_CONFIG } from 'common/envs/constants'
2
-import { type APIPath } from './schema'
3
4
type ErrorCode =
5
| 400 // your input is bad (like zod is mad)
0 commit comments