Yo05/01/2023, 9:40 PM
- on server A
- on server B, trying to contact the backend on server A
- locally, trying to contact the backend on server A I guess, I can have multiple backends, to cater to the 2 types like
, where backend is setup towards frontend (on server B) and backend-local where our local IP address is set for CORS and website name localhost with a port and tweak a bit the devops ot deploy the same code base to backend and backend-local, and both backends can connect to same `core`and databases. however this sounds a bit tidious, as I am new to this library, is there a way to support this functionality (both frontends) from a single backend
rp05/02/2023, 5:34 AM
in session.init. When the local frontend queries the backend, it will mostly work other than email verification links which will point to the websiteDomain instead of the local site. But this can be changed if you override the sendEmail function to change the domain on the url based on the request origin.
Yo05/02/2023, 5:43 AM