update swagger & ssl turn off
This commit is contained in:
@ -14,7 +14,7 @@
|
|||||||
"morgan": "combined",
|
"morgan": "combined",
|
||||||
"cors": "*",
|
"cors": "*",
|
||||||
"ssl": {
|
"ssl": {
|
||||||
"enable": true,
|
"enable": false,
|
||||||
"cert": "/etc/letsencrypt/live/bri-dev.shiblysolution.id/fullchain.pem",
|
"cert": "/etc/letsencrypt/live/bri-dev.shiblysolution.id/fullchain.pem",
|
||||||
"key": "/etc/letsencrypt/live/bri-dev.shiblysolution.id/privkey.pem"
|
"key": "/etc/letsencrypt/live/bri-dev.shiblysolution.id/privkey.pem"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,6 +9,6 @@ export class SwaggerHelper {
|
|||||||
explorer: false,
|
explorer: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
app.use('/api-docs', swaggerUi.serve, swaggerUi.setup(swaggerDocument, options));
|
app.use('/api/docs', swaggerUi.serve, swaggerUi.setup(swaggerDocument, options));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user