@rblaine95 I added a new env NEXT_PUBLIC_BACKEND_URL, that's for the frontend app to know what's the backend endpoint. There is also FRONTEND_URL env for backend to know what's the frontend to correctly set CORS.
Now, could you please create a new domain for the frontend server and set those two variables properly?
@rblaine95 I added a new env
NEXT_PUBLIC_BACKEND_URL
, that's for the frontend app to know what's the backend endpoint. There is alsoFRONTEND_URL
env for backend to know what's the frontend to correctly set CORS.Now, could you please create a new domain for the frontend server and set those two variables properly?
It should be something like
That assumes we preserve the current backend address. Maybe we can change both of them in the following way:
In the end, it's mainly up to you, how you want to deploy it.