anvilistas / anvil-labs

MIT License
8 stars 3 forks source link

anvil.server.get_app_origin() in web/service worker #100

Closed s-cork closed 1 year ago

s-cork commented 1 year ago

The anvil API currently calls the server web/service workers can't call this API since they won't be available off line

But the APIs will soon change to not call the server When that does change we can add anvil.server.get_app_origin() to the dummy anvil.server module

This way we don't have to hard code the endpoint origins