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

Cross-site cookie chrome warning #61

Open
dominikj111 opened this issue Jul 12, 2020 · 2 comments
Open

Cross-site cookie chrome warning #61

dominikj111 opened this issue Jul 12, 2020 · 2 comments

Comments

@dominikj111
Copy link

dominikj111 commented Jul 12, 2020

Hello, I've encountered with this deprecation
A cookie associated with a cross-site resource at http://localhost/ was set without the SameSite attribute. ....
in the Chrome browser.

I was wondering how to solve this problem and not sure if the fix should be done via the webpack config, watch config or in the plugin as this is the actual source of livereload isn't.
Honestly, I'm not sure how to set this in neither of mentioned.

I was hoping that this webpack config would work, but didn't.
devServer: { headers: { "Set-Cookie": "SameSite=None; Secure" } }

@statianzo
Copy link
Owner

What cookie are you seeing set by this plugin? It shouldn't require any.

@dominikj111
Copy link
Author

dominikj111 commented Jul 14, 2020

Neither me, I just looking for the way to set
SameSite=None; Secure to get rid of the deprecation message in the Chrome.

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