Created
November 20, 2019 06:10
-
-
Save blubbll/c6bc97818eb13ac47be42955a7e9fb76 to your computer and use it in GitHub Desktop.
purge bunny url
This file contains hidden or 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
//purge bunny url | |
sw.url.startsWith(process.env.SWHOST) && | |
!_.cache.get(`bunnyPurge_${sw.url}`) && [ | |
_.bunny.purge(sw.url), | |
_.cache.set(`bunnyPurge_${sw.url}), sw.url`) | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment