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

Unified Diff: pages/filters/websocket.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/filters/websocket.tmpl
diff --git a/pages/filters/websocket.tmpl b/pages/filters/websocket.tmpl
index 6b3a38781552a533beb0508c1931f692a2c3c2c3..572c4397f112439756529b8e3dbf1ed35ad9344b 100644
--- a/pages/filters/websocket.tmpl
+++ b/pages/filters/websocket.tmpl
@@ -55,5 +55,5 @@ document.addEventListener('DOMContentLoaded', ws_connect, false);
</div>
</div>
<h3>Filters</h3>
- <pre>$websocket,domain=testpages.adblockplus.org</pre>
+ <pre>$websocket,domain={{ site_url|strip_proto }}</pre>
</section>

Powered by Google App Engine
This is Rietveld