Hardcoding the backend url that the client communicates with in client.js is slightly fragile, so let's move this variable to an environmental variable. This will allow your local environment to point to either a local backend or a remote backend, but deployments to main or staging (which are automatically deployed on tapis) won't be affected by local changes to the client.js file.