api: Fix baseUrl for templates to have the slash
This commit is contained in:
parent
46466874da
commit
da7f3fb432
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue