update swagger & ssl turn off

This commit is contained in:
2024-11-29 15:37:04 +07:00
parent 6a9849a1d2
commit 1b71dc7776
2 changed files with 2 additions and 2 deletions

View File

@ -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"
} }

View File

@ -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));
} }
} }