[vlc-commits] lua/http: use proper relative URL for link to mobile version

Pierre Ynard git at videolan.org
Tue Aug 18 16:58:17 CEST 2020


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue Aug 18 16:51:18 2020 +0200| [0974efa453500160c77ea9f756aaff6d5ff064ca] | 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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0974efa453500160c77ea9f756aaff6d5ff064ca
---

 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