Skip to content

Commit 7640ee6

Browse files
committed
update webconfig
1 parent c80d993 commit 7640ee6

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

web.config

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,34 +16,12 @@
1616
</handlers>
1717
<rewrite>
1818
<rules>
19-
<!-- Do not interfere with requests for node-inspector debugging -->
20-
<rule name="NodeInspector" patternSyntax="ECMAScript" stopProcessing="true">
21-
<match url="^index.js\/debug[\/]?" />
22-
</rule>
23-
24-
<!-- First we consider whether the incoming URL matches a physical file in the /public folder -->
25-
<rule name="StaticContent">
26-
<action type="Rewrite" url="public{REQUEST_URI}"/>
27-
</rule>
28-
2919
<!-- All other URLs are mapped to the node.js site entry point -->
3020
<rule name="DynamicContent">
31-
<conditions>
32-
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="True"/>
33-
</conditions>
3421
<action type="Rewrite" url="dist/server.js"/>
3522
</rule>
3623
</rules>
3724
</rewrite>
38-
39-
<!-- 'bin' directory has no special meaning in node.js and apps can be placed in it -->
40-
<security>
41-
<requestFiltering>
42-
<hiddenSegments>
43-
<remove segment="bin"/>
44-
</hiddenSegments>
45-
</requestFiltering>
46-
</security>
4725

4826
<!-- Make sure error responses are left untouched -->
4927
<httpErrors existingResponse="PassThrough" />

0 commit comments

Comments
 (0)