Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
Starting work around improving the popup page
Browse files Browse the repository at this point in the history
  • Loading branch information
avanderhoorn committed Apr 21, 2014
1 parent 90d1925 commit 152a69a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Glimpse.Mvc3.MusicStore.Sample/Global.asax.cs
Expand Up @@ -96,8 +96,8 @@ protected void Application_Start()

private void Application_BeginRequest()
{
string rawUrlLowercased = Request.RawUrl.ToLower();
if (rawUrlLowercased.Contains("glimpse.axd") || rawUrlLowercased.Contains("/home/csptest"))
var rawUrlLowercased = Request.RawUrl.ToLower();
if (rawUrlLowercased.Contains("/home/csptest"))
{
// this will work
// HttpContext.Current.Response.Headers.Add("Content-Security-Policy", "default-src 'self' style-src 'unsafe-inline'");
Expand Down

0 comments on commit 152a69a

Please sign in to comment.