gjbae1212 / hit-counter

:rocket: Easy way to know how many visitors are viewing your Github, Website, Notion. :tada:
https://hits.seeyoufarm.com
GNU General Public License v3.0
1.07k stars 89 forks source link

Issue with cookies #20

Closed GitBoudewijn closed 3 years ago

GitBoudewijn commented 3 years ago

Hey,

Google Chrome is blocking the cookies from the counter.

This is what it says in the console: A cookie associated with a cross-site resource at http://hits.seeyoufarm.com/ was set without the SameSite attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

gjbae1212 commented 3 years ago

@GitBoudewijn Thank you. I have applied it.