sails-hook-send-html-to-bots
A sails hook to set req.wantsJSON as false for search engines and social networks bots
Installation
npm install sails-hook-send-html-to-bots --save
And add it in your hooks:
add code bellow in file: api/hooks/sails-hook-send-html-to-bots/index.js
moduleexports = hook;
Credits
Licence
MIT