|
@@ -23,10 +23,10 @@ class AppServiceProvider extends ServiceProvider
|
|
|
{
|
|
|
\Illuminate\Support\Facades\Schema::defaultStringLength(191);
|
|
|
// 禁用 CSRF 验证
|
|
|
- \Illuminate\Support\Facades\Route::matched(function () {
|
|
|
- app()->bind('middleware.disable', function () {
|
|
|
- return true;
|
|
|
- });
|
|
|
- });
|
|
|
+ // \Illuminate\Support\Facades\Route::matched(function () {
|
|
|
+ // app()->bind('middleware.disable', function () {
|
|
|
+ // return true;
|
|
|
+ // });
|
|
|
+ // });
|
|
|
}
|
|
|
}
|