Created
August 18, 2019 02:55
-
-
Save luandevpro/802c1f1532819e180c4202eb6f64bd5b to your computer and use it in GitHub Desktop.
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
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)) | |
}) | |
async function handleRequest(request) { | |
return fetch("https://test-coder9s.sgp1.digitaloceanspaces.com/index.html") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment