Render Index page when not a subdomain request
cgen-47a7abd588b94f67b3470b1dce8f3ac9
This commit is contained in:
parent
86478acbdd
commit
6da3bc94e1
1 changed files with 2 additions and 2 deletions
|
|
@ -104,9 +104,9 @@ const SubdomainPassport = () => {
|
||||||
return <LoadingScreen message="Detecting passport..." />;
|
return <LoadingScreen message="Detecting passport..." />;
|
||||||
}
|
}
|
||||||
|
|
||||||
// No subdomain detected - not a subdomain request
|
// No subdomain detected - not a subdomain request, show main Index page
|
||||||
if (!subdomainInfo) {
|
if (!subdomainInfo) {
|
||||||
return <Navigate to="/" replace />;
|
return <Index />;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Loading passport data
|
// Loading passport data
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue