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

Unified Diff: pages/exceptions/image.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/image.tmpl
diff --git a/pages/exceptions/image.tmpl b/pages/exceptions/image.tmpl
index 9d19c06177a18e88e370729be0694c631be19784..812b1ea6a7af0392eca625e91b84e43218d69b1e 100644
--- a/pages/exceptions/image.tmpl
+++ b/pages/exceptions/image.tmpl
@@ -25,6 +25,6 @@ template = testcase
</div>
</div>
<h3>Filters</h3>
- <pre>||testpages.adblockplus.org/testcasefiles/imageexception/*</pre>
- <pre>@@testpages.adblockplus.org/testcasefiles/imageexception/$image</pre>
+ <pre>||{{ site_url|strip_proto }}/testcasefiles/imageexception/*</pre>
+ <pre>@@{{ site_url|strip_proto }}/testcasefiles/imageexception/$image</pre>
</section>

Powered by Google App Engine
This is Rietveld