Skip to content

Commit ec80520

Browse files
move swagger file
1 parent dff8bb6 commit ec80520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ app.use('/api-docs', swaggerUi.serve, swaggerUi.setup(openApiSpec));
2424

2525
// Serve the OpenAPI JSON
2626
app.get('/openapi.json', (req, res) => {
27-
res.sendFile(path.join(__dirname, '../swagger/openapi.json'));
27+
res.sendFile(path.join(__dirname, './swagger/openapi.json'));
2828
});
2929

3030
// Export the app for Vercel or start the server locally

0 commit comments

Comments
 (0)