Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit 5b84ece

Browse files
committed
updated leaf to v2.1
1 parent 6648126 commit 5b84ece

3 files changed

Lines changed: 9 additions & 12 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"require": {
2222
"doctrine/dbal": "^2.9",
2323
"illuminate/console": "^6.3",
24-
"leafs/leaf": "2.1.0-alpha",
24+
"leafs/leaf": "^2.1",
2525
"psy/psysh": "^0.9.9",
2626
"symfony/console": "^4.3",
2727
"vlucas/phpdotenv": "^3.6"

composer.lock

Lines changed: 7 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141
| CORS errors at you. You can delete or make them more specific.
4242
|
4343
*/
44-
header("Access-Control-Allow-Origin: *");
45-
header("Access-Control-Allow-Headers: *");
44+
$app->response->cors();
4645

4746
/*
4847
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)