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.
1 parent a71114a commit 08d4db0Copy full SHA for 08d4db0
src/shared/components/Contentful/Route.jsx
@@ -180,7 +180,7 @@ function ContentfulRoute(props) {
180
// route is protected by TC Login
181
// send to login/register with proper retUrl set
182
const authUrl = config.URL.AUTH;
183
- return <RedirectWithStatus status={401} from={url} to={`${authUrl}?retUrl=${encodeURIComponent(url)}`} />
+ return <RedirectWithStatus status={401} from={url} to={`${authUrl}?retUrl=${encodeURIComponent(url)}`} />;
184
}
185
return redirectToUrl && currentPathname === url ? (
186
<RedirectWithStatus status={301} from={url} to={redirectToUrl} />
0 commit comments