Deployed website unable to find environment variables set on Worker

So my website is unable to access enviorment variables. When I set enviorment variables on my computer and run the app locally (without wrangler), it works correctly. But whenever I deploy my app to workers or test it with wrangler, it can't access the enviorment variables. How would I fix this?
Was this page helpful?