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)