Browse Source

禁止v1访问

guoziyun 11 tháng trước cách đây
mục cha
commit
4a39cd6e29
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app.js

+ 1 - 1
app.js

@@ -140,7 +140,7 @@ app.use('/api/subscribe', require('./routes/v2/subscribe'));  // 用户提交邮
 
 
 //v1
-app.use('/', require('./routes/index'));
+// app.use('/', require('./routes/index'));
 
 
 // catch 404 and forward to error handler