I'm using the session reciep with an express backend. Should I set location.origin as the apiDomain, when initializing the frontend, or the apiDomain of the hosted supertokens service?
When putting in the apiDomain of the hosted supertokens service, I get CORS errors. When putting in location.origin, the backend logic works fine, but doesSessionExist() always resolves to false and refreshing the accessToken also doesn't work.