Accessing Environment Variable in router.ts

Hello I have configured my worker using create cloudflare and worker with route.

I am able to access it in worker.ts but I want the access in the router.ts as there I am performing action. Please help me how can I access those env vars. I am using itty-router
Was this page helpful?