Skip to content

Instantly share code, notes, and snippets.

Created Jul 13, 2018
What would you like to do?
<?xml version="1.0" encoding="utf-8"?>
<add name="iisnode" path="server.js" verb="*" modules="iisnode"/>
<rule name="LogFile" patternSyntax="ECMAScript" stopProcessing="true">
<match url="iisnode"/>
<rule name="NodeInspector" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^server.js\/debug[\/]?" />
<rule name="StaticContent">
<action type="Rewrite" url="src{{REQUEST_URI}}"/>
<rule name="DynamicContent">
<add input="{{REQUEST_FILENAME}}" matchType="IsFile" negate="True"/>
<action type="Rewrite" url="server.js"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment