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:
parent
928f282311
commit
45a7f77454
@ -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