Skip to content

Commit

Permalink
Comment out staticContent section of webroot so express handles it
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lukechilds committed Sep 28, 2016
1 parent d3466a3 commit d41419b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web.config
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit d41419b

Please sign in to comment.