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

[doc] Development, localhost, init #194

Closed
ghost opened this issue Jul 22, 2019 · 1 comment
Closed

[doc] Development, localhost, init #194

ghost opened this issue Jul 22, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 22, 2019

I suggest to add a line to the Localhost section in the Readme, that reminds to call

netlifyIdentity.init()

with no parameters when developing on localhost, to trigger the request for the site URL for dev mode

Otherwise, using the APIUrl parameter, the page is redirected to the wrong place, or doesn't work at all if the parameter is set to http://localhost

@jlengstorf
Copy link
Contributor

this should no longer be an issue — please open a new issue (a reproduction or screen recording of the problem would be very much appreciated!) if localhost is causing problems!

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

1 participant