Reference fixes for HTTP prefixes (#3957)

This commit is contained in:
Luca Deri 2020-05-19 08:54:04 +02:00
parent 2f4d47f064
commit 13d0d2cbdb
2 changed files with 2 additions and 5 deletions

View file

@ -400,10 +400,7 @@ function page_utils.print_menubar()
print('<div id="n-sidebar" class="bg-'.. navbar_style ..' py-0 px-2">')
print([[
<h3 class='muted'>
<a href='/'>
]])
print("<h3 class='muted'><a href='"..ntop.getHttpPrefix().."/'>")
if (logo_path ~= nil) then
print("<img class=\"logo-brand\" height=\"52px\" src=\""..logo_path.."\" alt='Custom Logo' />")