Skip to content
Browse files

port 80 for prefetcher

nginx is listening on port 80 for requests to /identity
  • Loading branch information...
1 parent 0cbb623 commit 4b006a375ca66a7fc81dece06bcbfd2d49e5bdb4 @AbineReadOnly2 AbineReadOnly2 committed
Showing with 3 additions and 2 deletions.
  1. +1 −0 firefox/components/GoogleSharingManager.js
  2. +2 −2 firefox/components/Proxy.js
View
1 firefox/components/GoogleSharingManager.js
@@ -149,6 +149,7 @@ GoogleSharingManager.prototype = {
var requestUri = uri.scheme + "://" + uri.host + uri.path;
var proxy = this.connectionManager.getProxyForURL(requestUri);
+
if (!proxy) return otherProxies;
proxy.setProxyTunnel(otherProxies);
return proxy.getEncryptedProxyInfo();
View
4 firefox/components/Proxy.js
@@ -45,7 +45,7 @@ function Proxy() {
Proxy.prototype.initializePrefetcher = function() {
if (this.prefetcher == null) {
- this.prefetcher = new Prefetcher("http://", this.host,3000);
+ this.prefetcher = new Prefetcher("http://", this.host,80);
}
};
@@ -321,7 +321,7 @@ Proxy.prototype.deserialize = function(element) {
this.proxyImages = (element.getAttribute("proxyImages") == "true");
this.proxyFinance = (element.getAttribute("proxyFinance") == "true" || !element.getAttribute("proxyFinance"));
this.proxyCode = (element.getAttribute("proxyCode") == "true" || !element.getAttribute("proxyCode"));
- this.prefetcher = new Prefetcher("http://", this.host, 3000);
+ this.prefetcher = new Prefetcher("http://", this.host, 80);
this.setDefaultFilters();
this.initializeProxyInfo();
};

0 comments on commit 4b006a3

Please sign in to comment.
Something went wrong with that request. Please try again.