Browse Source

fix:去掉自动启动task

Yin Bin 4 months ago
parent
commit
09ae829fe2
2 changed files with 1 additions and 13 deletions
  1. 0 12
      .vscode/tasks.json
  2. 1 1
      app/Http/Middleware/VerifyCsrfToken.php

+ 0 - 12
.vscode/tasks.json

@@ -10,9 +10,6 @@
                 "panel": "new",
                 "group": "myapidoc"
             },
-            "runOptions": {
-                "runOn": "folderOpen"
-            }
         },
         {
             "label": "运行文档服务",
@@ -23,9 +20,6 @@
                 "panel": "new",
                 "group": "mydoc"
             },
-            "runOptions": {
-                "runOn": "folderOpen"
-            }
         },
         {
             "label": "Tinker交互终端",
@@ -36,9 +30,6 @@
                 "panel": "new",
                 "group": "tinker"
             },
-            "runOptions": {
-                "runOn": "folderOpen"
-            }
         },
         {
             "label": "你的日志",
@@ -52,9 +43,6 @@
                 "clear": true,
                 "focus": true
             },
-            "runOptions": {
-                "runOn": "folderOpen"
-            }
         }
     ]
 }

+ 1 - 1
app/Http/Middleware/VerifyCsrfToken.php

@@ -13,6 +13,6 @@ class VerifyCsrfToken extends Middleware
      */
     protected $except = [
         'api/*',
-        'admin/project',
+        'admin/projects/*',
     ];
 }