|
2 | 2 |
|
3 | 3 | exports[`Routing creates Netlify redirects 1`] = `
|
4 | 4 | "# Next-on-Netlify Redirects
|
5 |
| -/getStaticProps/withRevalidate/2 /foo/getStaticProps/withRevalidate/2 301! |
6 |
| -/getStaticProps/withRevalidate/1 /foo/getStaticProps/withRevalidate/1 301! |
7 |
| -/getStaticProps/with-revalidate /foo/getStaticProps/with-revalidate 301! |
8 |
| -/getServerSideProps/static /foo/getServerSideProps/static 301! |
9 |
| -/api/static /foo/api/static 301! |
10 |
| -/api/hello-background /foo/api/hello-background 301! |
11 | 5 | / /foo 301!
|
| 6 | +/api/hello-background /foo/api/hello-background 301! |
| 7 | +/api/static /foo/api/static 301! |
| 8 | +/getServerSideProps/static /foo/getServerSideProps/static 301! |
| 9 | +/getStaticProps/with-revalidate /foo/getStaticProps/with-revalidate 301! |
| 10 | +/getStaticProps/withRevalidate/1 /foo/getStaticProps/withRevalidate/1 301! |
| 11 | +/getStaticProps/withRevalidate/2 /foo/getStaticProps/withRevalidate/2 301! |
12 | 12 | /_next/data/%BUILD_ID%/getServerSideProps/static.json /.netlify/functions/next_getServerSideProps_static 200
|
13 | 13 | /_next/data/%BUILD_ID%/getStaticProps/1.json /.netlify/functions/next_getStaticProps_id 200! Cookie=__prerender_bypass,__next_preview_data
|
14 | 14 | /_next/data/%BUILD_ID%/getStaticProps/2.json /.netlify/functions/next_getStaticProps_id 200! Cookie=__prerender_bypass,__next_preview_data
|
@@ -39,17 +39,17 @@ exports[`Routing creates Netlify redirects 1`] = `
|
39 | 39 | /foo/getStaticProps/withFallbackBlocking/4 /.netlify/functions/next_getStaticProps_withFallbackBlocking_id 200 Cookie=__prerender_bypass,__next_preview_data
|
40 | 40 | /foo/getStaticProps/withRevalidate/1 /.netlify/functions/next_getStaticProps_withRevalidate_id 200
|
41 | 41 | /foo/getStaticProps/withRevalidate/2 /.netlify/functions/next_getStaticProps_withRevalidate_id 200
|
42 |
| -/shows/:params/* /foo/shows/:params 301! |
43 |
| -/shows/:id /foo/shows/:id 301! |
44 |
| -/getStaticProps/withRevalidate/withFallback/:id /foo/getStaticProps/withRevalidate/withFallback/:id 301! |
45 |
| -/getStaticProps/withFallbackBlocking/:id /foo/getStaticProps/withFallbackBlocking/:id 301! |
46 |
| -/getStaticProps/withFallback/:slug/* /foo/getStaticProps/withFallback/:slug 301! |
47 |
| -/getStaticProps/withFallback/:id /foo/getStaticProps/withFallback/:id 301! |
48 |
| -/getServerSideProps/:id /foo/getServerSideProps/:id 301! |
| 42 | +/api/shows/:id /foo/api/shows/:id 301! |
| 43 | +/api/shows/:params/* /foo/api/shows/:params 301! |
49 | 44 | /getServerSideProps/all /foo/getServerSideProps/all/:[slug] 301!
|
50 | 45 | /getServerSideProps/all/* /foo/getServerSideProps/all/:[slug] 301!
|
51 |
| -/api/shows/:params/* /foo/api/shows/:params 301! |
52 |
| -/api/shows/:id /foo/api/shows/:id 301! |
| 46 | +/getServerSideProps/:id /foo/getServerSideProps/:id 301! |
| 47 | +/getStaticProps/withFallback/:id /foo/getStaticProps/withFallback/:id 301! |
| 48 | +/getStaticProps/withFallback/:slug/* /foo/getStaticProps/withFallback/:slug 301! |
| 49 | +/getStaticProps/withFallbackBlocking/:id /foo/getStaticProps/withFallbackBlocking/:id 301! |
| 50 | +/getStaticProps/withRevalidate/withFallback/:id /foo/getStaticProps/withRevalidate/withFallback/:id 301! |
| 51 | +/shows/:id /foo/shows/:id 301! |
| 52 | +/shows/:params/* /foo/shows/:params 301! |
53 | 53 | /_next/data/%BUILD_ID%/getServerSideProps/all.json /.netlify/functions/next_getServerSideProps_all_slug 200
|
54 | 54 | /_next/data/%BUILD_ID%/getServerSideProps/all/* /.netlify/functions/next_getServerSideProps_all_slug 200
|
55 | 55 | /_next/data/%BUILD_ID%/getServerSideProps/:id.json /.netlify/functions/next_getServerSideProps_id 200
|
|
0 commit comments