letterm commited on
Commit
0273be4
·
verified ·
1 Parent(s): 339fb03

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -536,7 +536,7 @@ app.post('/hf/v1/chat/completions', async (req, res) => {
536
 
537
  // 404 处理
538
  app.use((req, res) => {
539
- res.status(404).json({ error: '请求路径不存在' });
540
  });
541
 
542
  // 启动服务器
 
536
 
537
  // 404 处理
538
  app.use((req, res) => {
539
+ res.status(404).json({ message: '服务运行中' });
540
  });
541
 
542
  // 启动服务器