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:
commit
56b8517205
@ -105,7 +105,7 @@ export class PublicRouter {
|
|||||||
],
|
],
|
||||||
display: 'standalone',
|
display: 'standalone',
|
||||||
orientation: 'any',
|
orientation: 'any',
|
||||||
start_url: Config.Client.publicUrl,
|
start_url: Config.Client.publicUrl === '' ? '.' : Config.Client.publicUrl,
|
||||||
background_color: '#000000',
|
background_color: '#000000',
|
||||||
theme_color: '#000000'
|
theme_color: '#000000'
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user