You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ISSUE:
After creating a default leaf mvc project, then attempting to view the project the user receives a notice exception.
EXCEPTION DETAILS
Leaf\Exceptions\ErrorException thrown with message "Undefined index: HTTP_ORIGIN"
Stacktrace: #6 Leaf\Exceptions\ErrorException in vendor/leafs/cors/src/Cors.php:129 #5 Leaf\Exception\Run:handleError in vendor/leafs/cors/src/Cors.php:129 #4 Leaf\Http\Cors:isOriginAllowed in vendor/leafs/cors/src/Cors.php:68 #3 Leaf\Http\Cors:configureOrigin in vendor/leafs/cors/src/Cors.php:33 #2 Leaf\Http\Cors:config in vendor/leafs/leaf/src/App.php:385 #1 Leaf\App:cors in public/index.php:100
#0 require_once in index.php:24
STEPS TO REPRODUCE:
Create a Leaf MVC project with the command "composer create-project leafs/mvc v3.x-dev"
Start project with "php leaf serve"
View the project in Google Chrome, the user is shown a notice exception.
The text was updated successfully, but these errors were encountered:
ISSUE:
After creating a default leaf mvc project, then attempting to view the project the user receives a notice exception.
EXCEPTION DETAILS
Leaf\Exceptions\ErrorException thrown with message "Undefined index: HTTP_ORIGIN"
Stacktrace:
#6 Leaf\Exceptions\ErrorException in vendor/leafs/cors/src/Cors.php:129
#5 Leaf\Exception\Run:handleError in vendor/leafs/cors/src/Cors.php:129
#4 Leaf\Http\Cors:isOriginAllowed in vendor/leafs/cors/src/Cors.php:68
#3 Leaf\Http\Cors:configureOrigin in vendor/leafs/cors/src/Cors.php:33
#2 Leaf\Http\Cors:config in vendor/leafs/leaf/src/App.php:385
#1 Leaf\App:cors in public/index.php:100
#0 require_once in index.php:24
STEPS TO REPRODUCE:
The text was updated successfully, but these errors were encountered: