[vlc-devel] [PATCH 1/4] lua/http: use proper relative URL for link to mobile version
Pierre Ynard
linkfanel at yahoo.fr
Sat Aug 8 02:29:31 CEST 2020
This would break if the web interface was not hosted at the domain's
root - for example, reverse-proxied from a subdirectory.
diff --git a/share/lua/http/index.html b/share/lua/http/index.html
index 433094f..0a72a28 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>
--
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."
More information about the vlc-devel
mailing list