Closed
Description
There is an issue with the following bit of code:
/*/ Make sure HTTPS is always used in production /*/
$scheme = 'http';
if (getenv('ENVIRONMENT') !== 'development') {
$router->map('GET', '/{page:(?:.|/)*}', HttpToHttpsController::class)->setScheme($scheme);
$scheme = 'https';
}
I would expect https to work as well with the development environment, but because all the routes are tied to $scheme, they are only available on http.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done