summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneurolit <neurolit@gmail.com>2012-10-24 19:48:13 +0200
committerneurolit <neurolit@gmail.com>2012-10-24 19:48:13 +0200
commit526610e2e7a3d3ec687dc7ea8736081c7d69255b (patch)
treee43ad0c8ceb52943ff164363c8daef4e912ee115
parent429651874f64f312d2a3dd09040aa2f8f44ed47b (diff)
downloadetherpad-lite-526610e2e7a3d3ec687dc7ea8736081c7d69255b.zip
Templates: relative links instead of absolute ones for /static directory
…irector Two links were absolute ("/static/...") instead of relative ("../static"). The image was not loaded with sites behind reverse proxies and subdirectory.
-rw-r--r--src/templates/pad.html2
-rw-r--r--src/templates/timeslider.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/templates/pad.html b/src/templates/pad.html
index 425e476d..7e19535e 100644
--- a/src/templates/pad.html
+++ b/src/templates/pad.html
@@ -233,7 +233,7 @@
</div>
<div class="reconnecting">
<h1>Reestablishing connection...</h1>
- <p><img alt="" border="0" src="/static/img/connectingbar.gif" /></p>
+ <p><img alt="" border="0" src="../static/img/connectingbar.gif" /></p>
</div>
<div class="userdup">
<h1>Opened in another window.</h1>
diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html
index 469ddd94..c7defcc0 100644
--- a/src/templates/timeslider.html
+++ b/src/templates/timeslider.html
@@ -83,7 +83,7 @@
</div>
<div class="reconnecting">
<h1>Reestablishing connection...</h1>
- <p><img alt="" border="0" src="/static/img/connectingbar.gif" /></p>
+ <p><img alt="" border="0" src="../../static/img/connectingbar.gif" /></p>
</div>
<div class="userdup">
<h1>Opened in another window.</h1>