WaspW
Wasp16mo ago
josh

Server URL is incorrect when deployed

Hi guys, so after trying to deploy my app, adding my domain, various deployments, restarts etc I finally got it deployed. The client and server are both running. However, the client cannot make requests to the server. The client is making requests to a hostname which doesn't exist (https://frosty-pond-etc instead of https://autumn-pine-etc). I tried checking the toml file on the server, the name is correct. I tried setting it up like

REACT_APP_API_URL=https:/autumn-pine-etc wasp deploy fly dep loy

But it wont update. Driving me crazy. Where can I configure the server base URL that the client is calling when deployed on fly.io.

Thanks guys!
Was this page helpful?