Skip to content

Commit

Permalink
[#51] Remove test alert from client proxy script.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwbrooks committed May 5, 2014
1 parent 8bbc5fd commit 96d08ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions res/middleware/proxy.js
@@ -1,7 +1,7 @@
<script type="text/javascript">
//
// Proxy
//
///
// Intercept XHR calls that would violate single-origin policy.
// These requests will be proxied through the server.
//
Expand All @@ -16,7 +16,6 @@
// proxy the cross-origin request
if (!parser.hostname.match(window.location.hostname)) {
url = '/proxy/' + encodeURIComponent(url);
alert(url);
}

xhr.open.apply(this, arguments);
Expand Down

0 comments on commit 96d08ac

Please sign in to comment.