33
Showing
1 changed file
with
4 additions
and
0 deletions
| ... | @@ -11,6 +11,10 @@ | ... | @@ -11,6 +11,10 @@ |
| 11 | | | 11 | | |
| 12 | */ | 12 | */ |
| 13 | 13 | ||
| 14 | // CORS | ||
| 15 | header('Access-Control-Allow-Origin:*'); | ||
| 16 | header('Access-Control-Allow-Credentials: true'); | ||
| 17 | |||
| 14 | Route::get('/', function () { | 18 | Route::get('/', function () { |
| 15 | return view('welcome'); | 19 | return view('welcome'); |
| 16 | }); | 20 | }); | ... | ... |
-
Please register or sign in to post a comment