rack-no-www icon indicating copy to clipboard operation
rack-no-www copied to clipboard

Rack middleware for redirecting 'www' requests

Results 4 rack-no-www issues
Sort by recently updated
recently updated
newest added

I followed suit of rack-ssl-enforcer by adding an `:only_hosts` option.

see commit message

writes a log to STDOUT when a redirect happens i could possibly make this optional via a configuration setting, but i think it's perfectly fine as-is.

stripped trailing whitespace, and put code example into fenced code block, for pretty syntax highlighting on github