From 21e6b5370c6e63a12addad87ec049b9cdea4a2b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=86=E3=82=AF=E3=83=8B=E3=82=AB=E3=83=AB=E8=AB=8F?= =?UTF-8?q?=E8=A8=AA=E5=AD=90?= Date: Sat, 10 Feb 2018 00:22:22 +0900 Subject: [PATCH] uhh. --- routes/web.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 9793cf2..39c28dc 100644 --- a/routes/web.php +++ b/routes/web.php @@ -11,10 +11,12 @@ | */ +header_remove('Access-Control-Allow-Origin'); +header_remove('Access-Control-Allow-Headers'); header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Headers: "Origin, X-Requested-With, Content-Type, Accept"'); -Auth::routes(); +// Auth::routes(); require(__DIR__.'/class/board.php'); // require(__DIR__.'/class/document.php');