Hi, I when I try to access this route:
window.location = “/admin”;
I get an error (in my local it works fine):
Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.
If this is your site, and you weren’t expecting a 404 for this path, please visit Netlify’s …
Thank you very much for your help guys.