mirror of
https://gitlab.com/flectra-hq/flectra.git
synced 2026-11-02 20:30:20 -06:00
Merge branch '2.0-rohit-pwa-url' into 'master'
[FIX] Service Worker PWA Length Of Url Error See merge request flectra-hq/flectra!947
This commit is contained in:
commit
3f6722722d
1 file changed
+2
-1
@@ -112,7 +112,8 @@ class ProgressiveWebApp(Controller):
|
||||
urls.extend(self._get_asset_urls("web.assets_frontend_lazy"))
|
||||
version_list = []
|
||||
for url in urls:
|
||||
version_list.append(url.split("/")[3])
|
||||
if len(url.split("/")) >= 3:
|
||||
version_list.append(url.split("/")[3])
|
||||
urls.extend([
|
||||
'/web/static/lib/fontawesome/fonts/fontawesome-webfont.woff2?v=4.7.0',
|
||||
'/web/static/src/img/favicon.ico',
|
||||
|
||||
Reference in new issue
Block a user