Issues related to the launch of vue

the current situation is

  • I finished developing the vue project, packed it into the test environment, specified the xxx.com domain name with nginx to this static file, and then I can access it.
  • the backend uses the tomecat server. When the backend service is called, the response returned by the backend is redirected to my domain name.

the problem is that the backend does carry cookie, but does not write to the empty cookie,cookie

clipboard.png

how can I get cookie,? does my vue static project have to have a server to interact with the backend, or do I need to configure some properties of nginx about cookie, or do I need special settings for backend return, or is there a problem with redirection?
because I am not familiar with this piece, and can I share the relevant architecture of the online configuration of the vue project?
Mar.06,2021
What does

have to do with vue? I feel that your cookie is written in the domain name of the backend, but it is not under your domain name. Of course, there will be problems


this does not seem to show up, but it seems that you will bring your own

when you make a request.
Menu