Browse Source

Comment out staticContent section of webroot so express handles it

Otherwise this breaks the app, Azure doesn't seem to be able to serve the font and our minification and cache headers don't get set.
pm2
Luke Childs 8 years ago
parent
commit
d41419b6e2
  1. 5
      web.config

5
web.config

@ -21,10 +21,11 @@
<match url="^index.js\/debug[\/]?" />
</rule>
<!-- Comment this out, serve all static files through express -->
<!-- First we consider whether the incoming URL matches a physical file in the /public folder -->
<rule name="StaticContent">
<!-- <rule name="StaticContent">
<action type="Rewrite" url="public{REQUEST_URI}"/>
</rule>
</rule> -->
<!-- All other URLs are mapped to the node.js site entry point -->
<rule name="DynamicContent">

Loading…
Cancel
Save