Skip to content

Instantly share code, notes, and snippets.

@Code-Hex
Last active July 6, 2022 12:10
Show Gist options
  • Save Code-Hex/5eb472e1f1df34cbc68e8bbf89a30adb to your computer and use it in GitHub Desktop.
Save Code-Hex/5eb472e1f1df34cbc68e8bbf89a30adb to your computer and use it in GitHub Desktop.

Revisions

  1. Code-Hex revised this gist Jul 6, 2022. No changes.
  2. Code-Hex renamed this gist Jul 6, 2022. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. Code-Hex created this gist Jul 6, 2022.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    addEventListener('fetch', (event: FetchEvent) => {
    // @ts-ignore
    console.log({ ...global })
    event.respondWith(verifyJWT(event.request))
    })