Stopped 404 from happening on initial load
This commit is contained in:
parent
a1c5150039
commit
b4a0e36e6b
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ const routes = [
|
||||||
try {
|
try {
|
||||||
|
|
||||||
// If the saved session has timed out, clear the session, execute 404 logic.
|
// If the saved session has timed out, clear the session, execute 404 logic.
|
||||||
if (!isSavedSessionStillActive()) {
|
if (getFunnelCookie() !== null && !isSavedSessionStillActive()) {
|
||||||
await GoToFunnelStartOn404(next);
|
await GoToFunnelStartOn404(next);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue