Index: pages/filters/xmlhttprequest.tmpl |
diff --git a/pages/filters/xmlhttprequest.tmpl b/pages/filters/xmlhttprequest.tmpl |
index da57e1e404f4c5ddeeec8010cdf144408511fc32..8c7e37a457fe1fd66c0852a3e5b83667881ab57f 100644 |
--- a/pages/filters/xmlhttprequest.tmpl |
+++ b/pages/filters/xmlhttprequest.tmpl |
@@ -18,7 +18,7 @@ function makerequest() { |
var req = new XMLHttpRequest(); |
req.addEventListener("error", failed); |
req.addEventListener("abort", aborted); |
- req.open("GET", "https://testpages.adblockplus.org/testcasefiles/xmlhttprequest/text.txt", true); |
+ req.open("GET", "{{ site_url }}/testcasefiles/xmlhttprequest/text.txt", true); |
req.onload = function(e) { |
if (this.status == 200) { |
pagelog(this.responseText); |
@@ -50,5 +50,5 @@ document.addEventListener('DOMContentLoaded', makerequest, false); |
</div> |
</div> |
<h3>Filters</h3> |
- <pre>testpages.adblockplus.org/testcasefiles/xmlhttprequest/$xmlhttprequest</pre> |
+ <pre>{{ site_url|strip_proto }}/testcasefiles/xmlhttprequest/$xmlhttprequest</pre> |
</section> |