[vlc-commits] lua/http: use proper relative URL for link to mobile version
Pierre Ynard
git at videolan.org
Tue Aug 18 17:18:32 CEST 2020
vlc/vlc-3.0 | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue Aug 18 16:51:18 2020 +0200| [8c67cd85c53ae46acb75d681000225d7d277afab] | committer: Pierre Ynard
lua/http: use proper relative URL for link to mobile version
This would break if the web interface was not hosted at the domain's
root - for example, reverse-proxied from a subdirectory.
(cherry picked from commit 0974efa453500160c77ea9f756aaff6d5ff064ca)
Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=8c67cd85c53ae46acb75d681000225d7d277afab
---
share/lua/http/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/lua/http/index.html b/share/lua/http/index.html
index 433094fc6e..0a72a28454 100644
--- a/share/lua/http/index.html
+++ b/share/lua/http/index.html
@@ -255,7 +255,7 @@
</div>
</div>
<div class="footer">
- VLC <?vlc print(vlc.misc.version() .. ' - Lua Web Interface - <a id="mobileintflink" href="/mobile.html">Mobile Interface</a> - ' .. vlc.misc.copyright()) ?>
+ VLC <?vlc print(vlc.misc.version() .. ' - Lua Web Interface - <a id="mobileintflink" href="mobile.html">Mobile Interface</a> - ' .. vlc.misc.copyright()) ?>
</div>
</div>
</div>
More information about the vlc-commits
mailing list