iisnode
iisnode copied to clipboard
shared code dir but 2 web sites
HI
I am trying to setup
siteA.com pointing at d:\IISRoot\siteA folder (appA.js) siteB.com pointing at d:\IISRoot\siteA same folder (appB.js)
is this possible in web.config with conditions on location or some trick with variables in node script ? apologies if I am being dumb and missing obvious. would make deployment from webstorm etc loads easier
any help appreciated
worked out that : process.env.APP_POOL_ID
... is available to allow modules switching in in different site (if different app pool)
happy now ... no more web.config hell
unless anyone thinks of a better ways
thanks