node.js - Blank page received - hosting Node + Express + Angular app on iis using iisnode -
i trying host express nodejs app having angular front end on iis 8.5 using iisnode.
i followed steps mentioned in iisnode wiki page. receiving blank page every time hit page through url.
my express server.js file in server folder , angular file in public/app folder named app.js
i using express routing , on angular front using ui routing. web.config follows.
<configuration> <system.webserver> <handlers> <add name="iisnode" path="server/server.js" verb="*" modules="iisnode" /> </handlers> <rewrite> <rules> <rule name="sendtonode"> <match url="/*" /> <action type="rewrite" url="server/server.js" /> </rule> </rules> </rewrite> <iisnode nodeprocesscommandline="c:\node\node.exe"/> </system.webserver> </configuration>
Comments
Post a Comment