From da7f3fb432e942e5b2c3d762c6a7e0a14678352f Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Sun, 28 Feb 2021 22:37:48 +0100 Subject: [PATCH] api: Fix baseUrl for templates to have the slash --- api/src/routes/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/routes/auth.js b/api/src/routes/auth.js index 6bbce5f..86498d3 100644 --- a/api/src/routes/auth.js +++ b/api/src/routes/auth.js @@ -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(); });