This commit is contained in:
parent
e1f5a13f57
commit
a8c40f50d6
@ -161,7 +161,11 @@ app.use(
|
|||||||
/**
|
/**
|
||||||
* Swagger Documentation
|
* Swagger Documentation
|
||||||
*/
|
*/
|
||||||
app.use(swagger());
|
app.use(
|
||||||
|
swagger({
|
||||||
|
path: isProduction() ? "/api/swagger" : "/swagger",
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
app.onStart(() => {
|
app.onStart(() => {
|
||||||
console.log("Listening on port http://localhost:8080");
|
console.log("Listening on port http://localhost:8080");
|
||||||
|
Reference in New Issue
Block a user