We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to use https://github.com/akrabat/rka-scheme-and-host-detection-middleware to prevent "Mixed content" error. After set X-Forwarded-Proto:https header in controller everything ok: $request->getUri()->getScheme(); return "https".
But here it's not working:
slim3-skeleton/app/dependencies.php
Line 16 in a39939d
$c->get('request')->getUri()->getScheme(); return "http" :(
The text was updated successfully, but these errors were encountered:
Yeah,
Using the request from the container won't work as it's the wrong one.
I think you need to not add the extension when registering the view, but rather do it in middleware after the host-detection-middleware has executed.
Sorry, something went wrong.
No branches or pull requests
I try to use https://github.com/akrabat/rka-scheme-and-host-detection-middleware to prevent "Mixed content" error. After set X-Forwarded-Proto:https header in controller everything ok: $request->getUri()->getScheme(); return "https".
But here it's not working:
slim3-skeleton/app/dependencies.php
Line 16 in a39939d
$c->get('request')->getUri()->getScheme(); return "http" :(
The text was updated successfully, but these errors were encountered: