api: Fix baseUrl for templates to have the slash

This commit is contained in:
Paul Bienkowski 2021-02-28 22:37:48 +01:00
parent 46466874da
commit da7f3fb432

View file

@ -53,7 +53,7 @@ function isValidScope(scope) {
router.use((req, res, next) => {
res.locals.user = req.user;
res.locals.mainFrontendUrl = config.mainFrontendUrl;
res.locals.baseUrl = baseUrl;
res.locals.baseUrl = baseUrl + '/';
next();
});