I am using hono, i have a database with a list of users and their credentials, is there any way i can setup auth and restrict specific routes for those users. I only need to do login
Hey! Has anyone here experimented with or implemented a system on Cloudflare Workers where you can dynamically instantiate or create workers from a template, particularly for a SaaS-like business model?
Incoming HTTP requests to a Worker are passed to the fetch() handler as a request object. To respond to the request with a response, return a Response …
If you want it to be perfectly accurate you should not do it in a waitUntil because waitUntil can fail or stop running and you wouldve responded that it suceeded
i want to add some header key when making request to it, should i check it after against a env.TOKEN or there's another way to interact with tokens from inside a worker?