app.use( require('express-subdomain-handler')({ baseUrl: 'node.localhost', prefix: 'subdomain', logger: true }) );
app.get('/subdomain/mysubdomain/',some.somert)
mysubdomain.node.localhost:1337 or mysubdomain.localhost:1337
doesn'T work either. what am i doing wrong?
is it something with the version of expressjs?
app.use( require('express-subdomain-handler')({ baseUrl: 'node.localhost', prefix: 'subdomain', logger: true }) );
app.get('/subdomain/mysubdomain/',some.somert)
mysubdomain.node.localhost:1337 or mysubdomain.localhost:1337
doesn'T work either. what am i doing wrong?
is it something with the version of expressjs?