浏览代码

Correction type requete http rename

Loquicom 5 年之前
父节点
当前提交
367d404558
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      node/src/router.js

+ 1 - 1
node/src/router.js

@@ -281,7 +281,7 @@ const router = class Router {
             }
         }]);*/
 
-        this.app.post('/rename/:file', [this.verbose, this.verifyAuth, (req, res) => {
+        this.app.put('/rename/:file', [this.verbose, this.verifyAuth, (req, res) => {
 
         }]);