Last active
July 6, 2022 12:10
-
-
Save Code-Hex/5eb472e1f1df34cbc68e8bbf89a30adb to your computer and use it in GitHub Desktop.
Cloudflare Workers の global 変数一覧を確認する方法
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
addEventListener('fetch', (event: FetchEvent) => { | |
// @ts-ignore | |
console.log({ ...global }) | |
event.respondWith(verifyJWT(event.request)) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cloudflare/workers-sdk#1411