Created
March 14, 2013 15:10
-
-
Save beyond-code-github/5162126 to your computer and use it in GitHub Desktop.
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
protected void Application_BeginRequest(object sender, EventArgs e) | |
{ | |
if (this.Context.Request.Path.Contains("signalr/")) | |
{ | |
this.Context.Response.AddHeader("Access-Control-Allow-Headers", "accept,origin,authorization,content-type"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment