1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Takes '.' for start_url if publicUrl is empty

This commit is contained in:
Roland 2021-01-16 08:41:01 +01:00
parent 928f282311
commit 45a7f77454

View File

@ -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'
});