Commit f0d6bb11 by 庄欣

分类

parent 52197e33
......@@ -33,8 +33,10 @@ require __DIR__.'/../bootstrap/autoload.php';
|
*/
header( 'Access-Control-Allow-Origin:*' );
header('Access-Control-Allow-Methods: POST, GET, OPTIONS');
header('Access-Control-Allow-Origin:*' );
header('Access-Control-Allow-Methods:POST,GET,PUT,DELETE');
header('Access-Control-Allow-Headers:Origin, X-Requested-With, Content-Type, Accept');
$app = require_once __DIR__.'/../bootstrap/app.php';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment