Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: pages/exceptions/script.tmpl

Issue 29874607: Issue 6769 - Avoid hardcoding the URL (Closed)
Patch Set: Created Sept. 4, 2018, 4:23 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pages/exceptions/script.tmpl
diff --git a/pages/exceptions/script.tmpl b/pages/exceptions/script.tmpl
index 290641b5a6397add8f4e10966e0b6af2eb58767b..3438d2ccb192ce3e3d3a896f1c7b4f18be3f231f 100644
--- a/pages/exceptions/script.tmpl
+++ b/pages/exceptions/script.tmpl
@@ -24,8 +24,8 @@ template = testcase
</div>
</div>
<h3>Filters</h3>
- <pre>||testpages.adblockplus.org/testcasefiles/scriptexception/*</pre>
- <pre>@@testpages.adblockplus.org/testcasefiles/scriptexception/$script</pre>
+ <pre>||{{ site_url|strip_proto }}/testcasefiles/scriptexception/*</pre>
+ <pre>@@{{ site_url|strip_proto }}/testcasefiles/scriptexception/$script</pre>
</section>
<script src="/testcasefiles/scriptexception/script.js"></script>

Powered by Google App Engine
This is Rietveld