-
Notifications
You must be signed in to change notification settings - Fork 92
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
Doesn't Work on Localhost #16
Comments
TLDR; I ran into a similar issue, the workaround for me was to modify your /etcs/hosts file and add any domain name for your localhost app. ie. /etc/hosts say your app is running on port 3000 But instead of using localhost, use faketwitter.com:8080 > href link to > mydevapp.com:3000 I've tested this and it works like a charm. |
^ This. And I wouldn't call it workaround. Using valid domain name for development is a must for real-world apps imo. |
I have built dozens of websites on localhost that disagree with you. |
@Nicholas-Westby I agree with you) |
mr is opened 4 years... |
I spent a few hours trying to figure out why this library didn't seem to be working, and why it wasn't creating the "sbjs" cookies. I figured out that it doesn't seem to like the localhost domain used by Visual Studio (e.g., "http://localhost:1234/"). Probably related to the way cookies work: https://stackoverflow.com/questions/1134290/cookies-on-localhost-with-explicit-domain
I have two options to recommend:
FYI, I'm using Chrome.
The text was updated successfully, but these errors were encountered: