mirror of
https://github.com/Casvt/MIND.git
synced 2026-02-19 11:54:46 -05:00
Changed manifest filename in backend
This commit is contained in:
@@ -171,7 +171,7 @@ def update_manifest(url_base: str) -> None:
|
||||
Args:
|
||||
url_base (str): The url base to use in the file.
|
||||
"""
|
||||
with open(folder_path('frontend', 'static', 'json', 'manifest.json'), 'r+') as f:
|
||||
with open(folder_path('frontend', 'static', 'json', 'pwa_manifest.json'), 'r+') as f:
|
||||
manifest = loads(f.read())
|
||||
manifest['start_url'] = url_base + '/'
|
||||
manifest['icons'][0]['src'] = f'{url_base}/static/img/favicon.svg'
|
||||
|
||||
Reference in New Issue
Block a user