From bef3b9e7805e234e5bba337d389a6ffeb15eee3a Mon Sep 17 00:00:00 2001 From: Sebastian Seedorf Date: Tue, 24 Nov 2020 00:55:32 +0100 Subject: [PATCH] Non-necessary bug fix --- backend/views/index.pug | 2 +- backend/views/layout.pug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/views/index.pug b/backend/views/index.pug index 1c6c20e..1053bc8 100644 --- a/backend/views/index.pug +++ b/backend/views/index.pug @@ -3,5 +3,5 @@ extends layout block content h1= title p Welcome to #{title}!  - a(href="/logout") Want so say goodbye? + a(href=baseUrl+"/logout") Want so say goodbye? p This name is fetched on server-side: #{email} diff --git a/backend/views/layout.pug b/backend/views/layout.pug index 0228ac8..6a749c8 100644 --- a/backend/views/layout.pug +++ b/backend/views/layout.pug @@ -1,4 +1,4 @@ -- const baseUrl = DefaultConfig.EXTERNAL_BASE_URL; +- const baseUrl = DefaultConfig.EXTERNAL_BASE_URL || DefaultConfig.BASE_PATH; doctype html html head