From 29c0bc049a3f0083598672c8e2321ea84a7551a6 Mon Sep 17 00:00:00 2001 From: arongsnuna Date: Wed, 19 Jun 2024 17:05:38 +0900 Subject: [PATCH] =?UTF-8?q?express=20=EC=84=A4=EC=B9=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0ed47c9..1652f71 100644 --- a/index.js +++ b/index.js @@ -16,7 +16,7 @@ app.use(express.json()); // request의 본문을 json으로 app.use(express.urlencoded({ extended: false })); // 단순 객체 문자열 형태로 본문 데이터 해석 app.use( - "/api-docs", + "/api-docs", swaggerUi.serve, swaggerUi.setup(specs, { explorer: true }) );