fix swagger?
All checks were successful
Deploy Backend / deploy (push) Successful in 3m23s

This commit is contained in:
Lee 2024-10-19 06:56:07 +01:00
parent e1f5a13f57
commit a8c40f50d6

View File

@ -161,7 +161,11 @@ app.use(
/**
* Swagger Documentation
*/
app.use(swagger());
app.use(
swagger({
path: isProduction() ? "/api/swagger" : "/swagger",
})
);
app.onStart(() => {
console.log("Listening on port http://localhost:8080");