4YZ
WWasp
•Created by 4YZ on 2/5/2025 in #đŸ™‹questions
Email not sending on production
Thanks for your response. My bad, forgot to update the REACT_APP_API_URL in my deploy github action. It was set to example.com instead of api.example.com (where the server is hosted). So a POST to https://example.com/auth/email/signup should have been to https://api.example.com/auth/email/signup. Response code was 200 so I didn't look into it further but the actual response was: "You need to enable JavaScript to run this app." ie the client was sending a request to itself. Hence no logging on the server
9 replies
WWasp
•Created by 4YZ on 2/5/2025 in #đŸ™‹questions
Email not sending on production
The env vars/provider should be set correctly, because the script could send the email from the container using wasp's own email sending function. I didn't change the sign up flow from the original email auth in the OpenSaaS template.
9 replies