Cross-domain setting cookies problem

as mentioned, the node egg.js development I use in the back end needs cookies, while the request used in the front end is fetch.js, but cannot complete the cross-domain request.

1.fetch main configuration credentials = "include",options.mode = "cors"
2. The backend setting
clipboard.png

clipboard.png

clipboard.png

clipboard.png

whiteListApp

clipboard.png

Mar.12,2021
Add access-control-allow-origin: xxxxx

to

config.cors.

Menu