From 45a7f774541b953c7e37793512c554b83e2ed29b Mon Sep 17 00:00:00 2001 From: Roland Date: Sat, 16 Jan 2021 08:41:01 +0100 Subject: [PATCH] Takes '.' for start_url if publicUrl is empty --- src/backend/routes/PublicRouter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/routes/PublicRouter.ts b/src/backend/routes/PublicRouter.ts index 2ef09cf1..dbfef378 100644 --- a/src/backend/routes/PublicRouter.ts +++ b/src/backend/routes/PublicRouter.ts @@ -105,7 +105,7 @@ export class PublicRouter { ], display: 'standalone', orientation: 'any', - start_url: Config.Client.publicUrl, + start_url: Config.Client.publicUrl === '' ? '.' : Config.Client.publicUrl, background_color: '#000000', theme_color: '#000000' });