node.js - Subdomain Routing in Sails.js -


i trying figure out way route subdomains in sails.js in such way, dynamic, default routing not seem allow this.

for example; if user goes theirname.example.com, route read example.com/users/theirname, , parameters on subdomain tag onto end /user/theirname. have been searching web quite few hours solid information on how achieve such thing.

any appreciated.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -