Closed s-cork closed 2 years 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
anvil.server.get_app_origin()
This way we don't have to hard code the endpoint origins
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 moduleThis way we don't have to hard code the endpoint origins