here"s the thing: the website does single sign-on and cookie is written under the primary domain name.
suppose
website 1: www.aaa.qwer.com
, website 2: www.bbb.qwer.com
,
api interfaces are uniformly used api.qwer.com
production environment cookie writes qwer.com
, no problem, for the local development environment (domain name is localhost):
which domain name does cookie write when js is written?