PastaGringo
PastaGringo
WWasp-lang
Created by PastaGringo on 5/30/2024 in #🙋questions
WASP_SERVER_URL not applied into ToDoApp tutorial
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 🙂
27 replies