Skip to content

Instantly share code, notes, and snippets.

@PackyXu
PackyXu / LICENCE SUBLIME TEXT
Created Jan 12, 2018
Sublime Text 3 Serial key build is 3143
View LICENCE SUBLIME TEXT
## Sublime Text 3 Serial key build is 3103
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
View laravel-cors
laravel 跨域参考 https://github.com/barryvdh/laravel-cors
Require the barryvdh/laravel-cors package in your composer.json and update your dependencies:
$ composer require barryvdh/laravel-cors
Add the Cors\ServiceProvider to your config/app.php providers array:
Barryvdh\Cors\ServiceProvider::class,(config/app.php)
Kernel.php add: 'cors' => \Barryvdh\Cors\HandleCors::class,