Is there a way to check for the environment the current worker is running in?
Since the limit on subrequests is different depending on whether the worker is running in Bundled vs Unbound, it would be useful if there were a way to check if the worker is running in Unbound mode or Bundled mode. Is this already possible
(Ideally not looking to use the Cloudflare API)?
2 Replies
There is not
I ended up just making it its own variable in wrangler.
Only did this because I have a ticket open to enable unbound on one of my accounts