Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookies are not set #77

Open
aastrum opened this issue Nov 22, 2024 · 3 comments
Open

Cookies are not set #77

aastrum opened this issue Nov 22, 2024 · 3 comments

Comments

@aastrum
Copy link

aastrum commented Nov 22, 2024

Cookies are not set if non-localhost is specified in development mode.

@mvrlin
Copy link
Owner

mvrlin commented Nov 22, 2024

Hi, can I see the viewport config?

@aastrum
Copy link
Author

aastrum commented Nov 22, 2024

Hi, can I see the viewport config?

viewport: {
  cookie: {domain: '.xn--d1aiahnen.xn--80aswg'},
  breakpoints: {
    xs: 360,
    sm: 640,
    md: 768,
    lg: 1024,
    xl: 1280,
    xxl: 2560,

    breakMenu768: 768,
    breakMenu1024: 1024,
  },
  defaultBreakpoints: {
    desktop: 'lg',
    mobile: 'sm',
    tablet: 'md',
  },
  fallbackBreakpoint: 'lg',
},

@mvrlin
Copy link
Owner

mvrlin commented Nov 24, 2024

@aastrum If you're trying to set cookie for a domain different from the current one, the browser won't let you, that's the browser's limitation. But that should work on production, if your domain is xn--d1aiahnen.xn--80aswg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants