vuestorefront-community / odoo

https://docs.vuestorefront.io/odoo/
MIT License
66 stars 26 forks source link

[Bug]: Cookies are not saved when using localhost:3000 #53

Closed odranoelBR closed 1 year ago

odranoelBR commented 1 year ago

Expected Behavior

Persist the cookie between request on odoo.

Actual Behavior

The cookie is not saved on browser, losting the state of navigation.

Possible Solution

Save the cookie with domain localhost

Steps to reproduce

  1. Run app
  2. enter localhost:3000
  3. add item to cart
  4. add another item
  5. check wrong cart.

What version of odoo integration are you using?

15

What version of Node.js are you using?

14

What browser (and version) are you using?

crome

What operating system (and version) are you using?

Ubuntu 22

Relevant log output

No response

Code of Conduct

odranoelBR commented 1 year ago

Fixed in https://github.com/vuestorefront-community/template-odoo/commit/e5713a292fdb22000a6efe9a10efde6428e12e86

Set https://docs.vuestorefront.io/v2/security/api-url.html make it work

odranoelBR commented 1 year ago

Fix in v.1.5.1