Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Progressive Web App #4730

Merged
merged 14 commits into from
Nov 27, 2018
Prev Previous commit
Next Next commit
Add more fonts to urlsToCache
  • Loading branch information
SohnyBohny committed Oct 29, 2018
commit d4ccf690725ffc410425f046ec43482cda8b53da
4 changes: 3 additions & 1 deletion templates/pwa/serviceworker_js.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ var urlsToCache = [

// fonts
'{{AppSubUrl}}/vendor/plugins/semantic/themes/default/assets/fonts/icons.woff2',
'{{AppSubUrl}}/vendor/assets/octicons/octicons.woff2' // TODO: ?MD5
'{{AppSubUrl}}/vendor/assets/octicons/octicons.woff2', // TODO: ?MD5
SohnyBohny marked this conversation as resolved.
Show resolved Hide resolved
'{{AppSubUrl}}/vendor/assets/lato-fonts/lato-v14-latin-regular.woff2',
'{{AppSubUrl}}/vendor/assets/lato-fonts/lato-v14-latin-700.woff2'
];

self.addEventListener('install', function (event) {
Expand Down