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

Can't access /admin locally after updating URL #58

Closed
Kaisaurus opened this issue Mar 19, 2018 · 2 comments
Closed

Can't access /admin locally after updating URL #58

Kaisaurus opened this issue Mar 19, 2018 · 2 comments

Comments

@Kaisaurus
Copy link

After deployment to Netlify I've changed the URL of the site. Now when I try to test the /admin page locally I get a error:

Failed to load settings from https://some-link-e767e6.netlify.com/.netlify/identity

The URL its displaying here is the old one so I'm not surprised it can't load the settings but I can't seem to find where I can update this url. Any ideas?

@erquhart
Copy link
Contributor

erquhart commented Mar 19, 2018

There's a key netlifySiteURL in localstorage that controls that, you need to clear it out.

@Kaisaurus
Copy link
Author

Thanks! (no wonder I couldn't find it in the files...)

For anyone else coming across this issue you can manually remove the netlifySiteURL from localStorage by running the following command in the browser console.

localStorage.removeItem("netlifySiteURL");

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