req.subdomains
An array of all the subdomains in this request's URL.
req.subdomains;
If the requested URL was "https://ww3.staging.ibm.com":
req.subdomains; // -> ['ww3', 'staging']
If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the sails repo. Once we merge it, the changes will be reflected on the website the next time it is deployed.
For a better experience on sailsjs.com, update your browser.
Check out the full Sailsconf 2024 playlist on Youtube