Hi, I'm doing the Wasp tutorial TodoApp from one of my VPS. The frontend run on a https URL and the backend needs to run on another https URL. I've configued on nginx proxy "wasp.domain.tld" to redirect frontend url to localhost:3000 and another proxy "wasp.domain.tld" to localhost:3001. I've updated the .env file with: WASP_SERVER_URL=https://wasp-backend.domain.tld WASP_WEB_CLIENT_URL=https://wasp.domain.tld
When I start the project with wsap start and access to the frontend I can see "Loading..." & "AxiosError: Network Error". When I check the console I can find that the backend is searched with url http://localhost:3001/operations/get-tasks
This URL should have been updated with the WASP_SERVER_URL env var no? Thanks
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
W
Wasp
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.