From d1c15f58c4af0df3804b28f16f471c7271f2feae Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Sun, 19 Mar 2023 12:31:14 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20config=20=E6=8E=A5=E5=8F=A3=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=9D=83=E9=99=90=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/src/index.ts b/service/src/index.ts index 467c2b3..4bf42f9 100644 --- a/service/src/index.ts +++ b/service/src/index.ts @@ -36,7 +36,7 @@ router.post('/chat-process', auth, async (req, res) => { } }) -router.post('/config', async (req, res) => { +router.post('/config', auth, async (req, res) => { try { const response = await chatConfig() res.send(response)