anvilistas / anvil-labs

MIT License
8 stars 3 forks source link

Web Workers can't use `anvil.server.get_api_origin()` #94

Closed s-cork closed 1 year ago

s-cork commented 1 year ago

removes anvill.server.get_api_origin() from the worker in previous pr it was using this on load - but it obviously can't do that if the app tries to load offline 🤦‍♂️

@rhurlbatt - just in case this affects your production

rhurlbatt commented 1 year ago

Thanks @s-cork - we literally just picked this up. Thanks for the heads up - we will stick with a hardcoded API endpoint as it runs in a separate app for the production branch.