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

Merge pull request #221 from snoopyCode/bug/mobile-web-app

Fixes #219: Manifest for web app takes '.' as default if publicUrl is empty string
This commit is contained in:
Patrik J. Braun 2021-01-16 14:50:44 +01:00 committed by GitHub
commit 56b8517205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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