0.11.2 • Published 9 years ago
sails-hook-non-www v0.11.2
sails-hook-non-www
The simplest way to redirect the http://www.example.com requests to http://example.com
If you are working with sails 0.11.x
npm install --save sails-hook-non-www
If you are working with sails 0.10.X just clone this repo inside of api/hooks folder and all the requests will be redirected to non-www url