luci-base: redirect root path to /cgi-bin/luci/
authorxiongjie <xiongjie@corp.netease.com>
Wed, 10 Oct 2018 05:04:17 +0000 (13:04 +0800)
committerJo-Philipp Wich <jo@mein.io>
Thu, 1 Aug 2019 13:44:51 +0000 (15:44 +0200)
Fix openwrt/luci#1062
Signed-off-by: MonwF <boluo2@gmail.com>
(cherry picked from commit fd3d2b468fe8d7d6335743d8b3fc5bb6d88708f7)

modules/luci-base/root/www/index.html

index 59b0d84842df47355613ac313015148f9469c6b9..e964175829109e87f6eb92685e2ee75953d0411d 100644 (file)
@@ -3,9 +3,9 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <meta http-equiv="Cache-Control" content="no-cache" />
-<meta http-equiv="refresh" content="0; URL=/cgi-bin/luci" />
+<meta http-equiv="refresh" content="0; URL=/cgi-bin/luci/" />
 </head>
 <body style="background-color: white">
-<a style="color: black; font-family: arial, helvetica, sans-serif;" href="/cgi-bin/luci">LuCI - Lua Configuration Interface</a>
+<a style="color: black; font-family: arial, helvetica, sans-serif;" href="/cgi-bin/luci/">LuCI - Lua Configuration Interface</a>
 </body>
 </html>