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
Environment detection can no longer use domain names due to the ease of spoofing.
So the detection has to be handled by the developer, rather than the framework.
Using a closure in the $env = $app->detectEnvironment() call is supported allowing the developer to determine which environment is to handle the request.