-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Babek Naghiyev
authored and
Babek Naghiyev
committed
Jan 10, 2021
1 parent
122b369
commit d27b317
Showing
6 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ No need to hard work as ETag or whatever. As easy as drinking a coffee, even eas | |
|
||
``` | ||
importScripts('https://cdn.jsdelivr.net/gh/nagibaba/[email protected].2/lib/index.js'); | ||
importScripts('https://cdn.jsdelivr.net/gh/nagibaba/[email protected].3/lib/index.js'); | ||
const sw = new EasySW(); | ||
|
@@ -37,8 +37,8 @@ sw.precacheResources = ['/']; | |
sw.cacheGetRequests = false; | ||
// offline if not cached | ||
// @default '/offline.html' | ||
sw.offlinePage = '/offline.html'; | ||
// @default '/offline' | ||
sw.offlinePage = '/offline'; | ||
// Returns true if you don't want the URL to be cached | ||
|
@@ -98,7 +98,7 @@ Pull requests are welcome. For major changes, please open an issue first to disc | |
npm run prepublish | ||
``` | ||
|
||
## Version 1.2.2 | ||
## Version 1.2.3 | ||
|
||
## License | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
importScripts( | ||
"https://cdn.jsdelivr.net/gh/nagibaba/[email protected].2/lib/index.js", | ||
"https://cdn.jsdelivr.net/gh/nagibaba/[email protected].3/lib/index.js", | ||
); | ||
|
||
const sw = new EasySW(); | ||
|
@@ -15,8 +15,8 @@ sw.precacheResources = ["/"]; | |
sw.cacheGetRequests = false; | ||
|
||
// offline if not cached | ||
// @default '/offline.html' | ||
sw.offlinePage = "/offline.html"; | ||
// @default '/offline' | ||
sw.offlinePage = "/offline"; | ||
|
||
// Returns true if you don't want the URL to be cached | ||
// @return boolean | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters