Home
last modified time | relevance | path

Searched refs:redirectPath (Results 1 – 3 of 3) sorted by relevance

/expo/docs/common/
H A Derror-utilities.ts6 redirectPath = redirectPath.replace('index.html', '');
11 redirectPath = redirectPath.replace('.html', '');
18 redirectPath = redirectPath.replace(/null$/, '');
22 if (redirectPath[redirectPath.length - 1] !== '/') {
23 redirectPath = `${redirectPath}/`;
28 redirectPath = RENAMED_PAGES[redirectPath];
41 redirectPath = replaceVersionWithLatest(redirectPath);
46 redirectPath = removeVersionFromPath(redirectPath);
51 redirectPath = `/versions/latest${redirectPath}`;
63 redirectPath = `/versions/${getVersionFromPath(redirectPath)}/`;
[all …]
H A Derror-utilities.test.ts5 const newPath = getRedirectPath(redirectPath);
15 const newPath = getRedirectPath(redirectPath);
22 const newPath = getRedirectPath(redirectPath);
29 const newPath = getRedirectPath(redirectPath);
36 const newPath = getRedirectPath(redirectPath);
42 const redirectPath = '/workflow/expo-cli/'; constant
43 const newPath = getRedirectPath(redirectPath);
49 const redirectPath = '/workflow/expo-cli'; constant
50 const newPath = getRedirectPath(redirectPath);
57 const newPath = getRedirectPath(redirectPath);
[all …]
/expo/docs/pages/
H A D_error.tsx60 const [redirectPath, setRedirectPath] = useState<string | undefined>(undefined);
92 if (redirectPath && typeof window !== 'undefined') {
93 setTimeout(() => (window.location.href = `${redirectPath}${REDIRECT_SUFFIX}`), 1200);
95 }, [redirectPath]);
98 if (redirectPath) {