Skip to content

Commit

Permalink
fix: .get() is old ember
Browse files Browse the repository at this point in the history
  • Loading branch information
BoussonKarel committed Dec 30, 2022
1 parent 03de0b7 commit c398922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/instance-initializers/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function initialize(appInstance) {
swService.set('debug', debugAddon);

// first checks whether the browser supports service workers
if (swService.get('isSupported')) {
if (swService.isSupported) {
// Load and register pre-caching Service Worker
if (isEnabled) {
swService.register(swDestFile);
Expand Down

0 comments on commit c398922

Please sign in to comment.