This repository has been archived by the owner on Jun 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
https middleware #73
Comments
That's good idea. I'm implementing this 👍 |
Great ! :) |
oscarotero
added a commit
that referenced
this issue
Mar 22, 2017
I've commited a fix for this. Can you check if it works fine? |
That's rock 😄 ! You can definitely make the release for composer hehe Thank you so much @oscarotero |
Hey everyone, what about using composition for that?
|
Hi! I'm using it like this and that work well: Middleware::Www(true) Why do you want an other way to switch on/off ? |
Because it would work out of the box for any PSR-15 compatible middleware
without the need to add this constructor argument.
|
OK :) |
3.20 released |
@oscarotero thanks |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
Actually it's not possible to activate or deactivate https middleware by passing an argument like for www middleware does :
Middleware::Www(true)
This is really useful when switching from a development to production environment.
Is it possible to add this function?
Thank you so much.
The text was updated successfully, but these errors were encountered: