We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c3592fb + 35b9e01 commit bfd8bd7Copy full SHA for bfd8bd7
src/netlify-identity.js
@@ -149,7 +149,7 @@ const errorRoute = /error=access_denied&error_description=403/;
149
const accessTokenRoute = /access_token=/;
150
151
function runRoutes() {
152
- const hash = (document.location.hash || "").replace(/^#/, "");
+ const hash = (document.location.hash || "").replace(/^#\/?/, "");
153
if (!hash) {
154
return;
155
}
0 commit comments