From ad1141f3785a180a7f077490dca56be6f22e552d Mon Sep 17 00:00:00 2001 From: Daniel Barenholz Date: Tue, 11 Jul 2023 18:52:32 +0200 Subject: [PATCH] Add fix for missing basepath in navbar login button (#86) --- src/views/includes/navbar.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/includes/navbar.pug b/src/views/includes/navbar.pug index af148d5..6d15d0f 100644 --- a/src/views/includes/navbar.pug +++ b/src/views/includes/navbar.pug @@ -23,7 +23,7 @@ nav.navbar.is-fixed-top(role='navigation', aria-label='main navigation',style='b if req.isAuthenticated() if req.user._id === '_CCUNKNOWN' .navbar-item - a.button.is-primary(href='/login')= lang('NAVBAR_LOGIN') + a.button.is-primary(href=`${_CC.config.base}login`)= lang('NAVBAR_LOGIN') else .navbar-item.has-dropdown.is-hoverable a.navbar-link= req.user._id