From 041ded13b8c22fda06a854ea26ce5f83debd157d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Mon, 17 Jun 2024 13:02:44 +0900 Subject: [PATCH] =?UTF-8?q?prefix=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 319799d..defa48d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -66,7 +66,7 @@ const options = { const swaggerRouter = Router(); swaggerRouter.use('/', swaggerUi.serve); swaggerRouter.get('/', swaggerUi.setup(swaggerJSDoc(options))); -app.use('/api-docs', swaggerRouter); +app.use('/docs', swaggerRouter); app.use(express.json()); logger.info("JSON parser enabled");