Force a domain by redirecting.
The checkDomain function takes the current domain and checks whether it is correct.
It should return Nothing if the domain is correct, or `Just "domain.com"` if it is incorrect.
Modulewai-extra-3.1.16Haskell2010
Network.Wai.Middleware.ForceDomain
- 1 value
- Packagewai-extra-3.1.16
- Exports1
- LanguageHaskell2010
- LicenceMIT
- SourceForceDomain.hs