Skip to content

Commit d1c15f5

Browse files
committed
perf: config 接口添加权限验证
1 parent d422a80 commit d1c15f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ router.post('/chat-process', auth, async (req, res) => {
3636
}
3737
})
3838

39-
router.post('/config', async (req, res) => {
39+
router.post('/config', auth, async (req, res) => {
4040
try {
4141
const response = await chatConfig()
4242
res.send(response)

0 commit comments

Comments
 (0)