I have 2 projects, app client and api server.
When i request from server cookie i receive it under set-cookie but for some reason browser does not set it under its app domain but continue setting it under api domain.
I have also noticed that when i need to send cookie the browser knows to take it from api domain, but how does that work?



 
    