Created
September 25, 2012 01:36
-
-
Save cat-haines/3779481 to your computer and use it in GitHub Desktop.
This goes in your API folder of Nancy + AppHarbor project - you DO NOT add anything to any other web.configs in the project to make it work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<configuration> | |
<system.web> | |
<compilation debug="true" targetFramework="4.0" /> | |
<customErrors mode="Off" /> | |
<httpHandlers> | |
<add verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*"/> | |
</httpHandlers> | |
</system.web> | |
<system.webServer> | |
<modules runAllManagedModulesForAllRequests="true"/> | |
<validation validateIntegratedModeConfiguration="false"/> | |
<handlers> | |
<add name="Nancy" verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*"/> | |
</handlers> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sweet gist bra