|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`Routing creates Netlify redirects 1`] = ` |
| 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 | +/ /foo 301! |
| 12 | +/_next/data/%BUILD_ID%/getServerSideProps/static.json /.netlify/functions/next_getServerSideProps_static 200 |
| 13 | +/_next/data/%BUILD_ID%/getStaticProps/1.json /.netlify/functions/next_getStaticProps_id 200! Cookie=__prerender_bypass,__next_preview_data |
| 14 | +/_next/data/%BUILD_ID%/getStaticProps/2.json /.netlify/functions/next_getStaticProps_id 200! Cookie=__prerender_bypass,__next_preview_data |
| 15 | +/_next/data/%BUILD_ID%/getStaticProps/static.json /.netlify/functions/next_getStaticProps_static 200! Cookie=__prerender_bypass,__next_preview_data |
| 16 | +/_next/data/%BUILD_ID%/getStaticProps/with-revalidate.json /.netlify/functions/next_getStaticProps_withrevalidate 200 |
| 17 | +/_next/data/%BUILD_ID%/getStaticProps/withFallback/3.json /.netlify/functions/next_getStaticProps_withFallback_id 200! Cookie=__prerender_bypass,__next_preview_data |
| 18 | +/_next/data/%BUILD_ID%/getStaticProps/withFallback/4.json /.netlify/functions/next_getStaticProps_withFallback_id 200! Cookie=__prerender_bypass,__next_preview_data |
| 19 | +/_next/data/%BUILD_ID%/getStaticProps/withFallback/my/path/1.json /.netlify/functions/next_getStaticProps_withFallback_slug 200! Cookie=__prerender_bypass,__next_preview_data |
| 20 | +/_next/data/%BUILD_ID%/getStaticProps/withFallback/my/path/2.json /.netlify/functions/next_getStaticProps_withFallback_slug 200! Cookie=__prerender_bypass,__next_preview_data |
| 21 | +/_next/data/%BUILD_ID%/getStaticProps/withFallbackBlocking/3.json /.netlify/functions/next_getStaticProps_withFallbackBlocking_id 200! Cookie=__prerender_bypass,__next_preview_data |
| 22 | +/_next/data/%BUILD_ID%/getStaticProps/withFallbackBlocking/4.json /.netlify/functions/next_getStaticProps_withFallbackBlocking_id 200! Cookie=__prerender_bypass,__next_preview_data |
| 23 | +/_next/data/%BUILD_ID%/getStaticProps/withRevalidate/1.json /.netlify/functions/next_getStaticProps_withRevalidate_id 200 |
| 24 | +/_next/data/%BUILD_ID%/getStaticProps/withRevalidate/2.json /.netlify/functions/next_getStaticProps_withRevalidate_id 200 |
| 25 | +/foo /.netlify/functions/next_index 200 |
| 26 | +/foo/_next/* /_next/:splat 301! |
| 27 | +/foo/api/hello-background /.netlify/functions/next_api_hello-background 200 |
| 28 | +/foo/api/static /.netlify/functions/next_api_static 200 |
| 29 | +/foo/getServerSideProps/static /.netlify/functions/next_getServerSideProps_static 200 |
| 30 | +/foo/getStaticProps/1 /.netlify/functions/next_getStaticProps_id 200 Cookie=__prerender_bypass,__next_preview_data |
| 31 | +/foo/getStaticProps/2 /.netlify/functions/next_getStaticProps_id 200 Cookie=__prerender_bypass,__next_preview_data |
| 32 | +/foo/getStaticProps/static /.netlify/functions/next_getStaticProps_static 200 Cookie=__prerender_bypass,__next_preview_data |
| 33 | +/foo/getStaticProps/with-revalidate /.netlify/functions/next_getStaticProps_withrevalidate 200 |
| 34 | +/foo/getStaticProps/withFallback/3 /.netlify/functions/next_getStaticProps_withFallback_id 200 Cookie=__prerender_bypass,__next_preview_data |
| 35 | +/foo/getStaticProps/withFallback/4 /.netlify/functions/next_getStaticProps_withFallback_id 200 Cookie=__prerender_bypass,__next_preview_data |
| 36 | +/foo/getStaticProps/withFallback/my/path/1 /.netlify/functions/next_getStaticProps_withFallback_slug 200 Cookie=__prerender_bypass,__next_preview_data |
| 37 | +/foo/getStaticProps/withFallback/my/path/2 /.netlify/functions/next_getStaticProps_withFallback_slug 200 Cookie=__prerender_bypass,__next_preview_data |
| 38 | +/foo/getStaticProps/withFallbackBlocking/3 /.netlify/functions/next_getStaticProps_withFallbackBlocking_id 200 Cookie=__prerender_bypass,__next_preview_data |
| 39 | +/foo/getStaticProps/withFallbackBlocking/4 /.netlify/functions/next_getStaticProps_withFallbackBlocking_id 200 Cookie=__prerender_bypass,__next_preview_data |
| 40 | +/foo/getStaticProps/withRevalidate/1 /.netlify/functions/next_getStaticProps_withRevalidate_id 200 |
| 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! |
| 49 | +/getServerSideProps/all /foo/getServerSideProps/all/:[slug] 301! |
| 50 | +/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! |
| 53 | +/_next/data/%BUILD_ID%/getServerSideProps/all.json /.netlify/functions/next_getServerSideProps_all_slug 200 |
| 54 | +/_next/data/%BUILD_ID%/getServerSideProps/all/* /.netlify/functions/next_getServerSideProps_all_slug 200 |
| 55 | +/_next/data/%BUILD_ID%/getServerSideProps/:id.json /.netlify/functions/next_getServerSideProps_id 200 |
| 56 | +/_next/data/%BUILD_ID%/getStaticProps/withFallback/:id.json /.netlify/functions/next_getStaticProps_withFallback_id 200 |
| 57 | +/_next/data/%BUILD_ID%/getStaticProps/withFallback/:slug/* /.netlify/functions/next_getStaticProps_withFallback_slug 200 |
| 58 | +/_next/data/%BUILD_ID%/getStaticProps/withFallbackBlocking/:id.json /.netlify/functions/next_getStaticProps_withFallbackBlocking_id 200 |
| 59 | +/_next/data/%BUILD_ID%/getStaticProps/withRevalidate/withFallback/:id.json /.netlify/functions/next_getStaticProps_withRevalidate_withFallback_id 200 |
| 60 | +/foo/_next/image* url=:url w=:width q=:quality /nextimg/:url/:width/:quality 301! |
| 61 | +/foo/api/shows/:id /.netlify/functions/next_api_shows_id 200 |
| 62 | +/foo/api/shows/:params/* /.netlify/functions/next_api_shows_params 200 |
| 63 | +/foo/getServerSideProps/all /.netlify/functions/next_getServerSideProps_all_slug 200 |
| 64 | +/foo/getServerSideProps/all/* /.netlify/functions/next_getServerSideProps_all_slug 200 |
| 65 | +/foo/getServerSideProps/:id /.netlify/functions/next_getServerSideProps_id 200 |
| 66 | +/foo/getStaticProps/withFallback/:id /.netlify/functions/next_getStaticProps_withFallback_id 200 |
| 67 | +/foo/getStaticProps/withFallback/:slug/* /.netlify/functions/next_getStaticProps_withFallback_slug 200 |
| 68 | +/foo/getStaticProps/withFallbackBlocking/:id /.netlify/functions/next_getStaticProps_withFallbackBlocking_id 200 |
| 69 | +/foo/getStaticProps/withRevalidate/withFallback/:id /.netlify/functions/next_getStaticProps_withRevalidate_withFallback_id 200 |
| 70 | +/foo/shows/:id /.netlify/functions/next_shows_id 200 |
| 71 | +/foo/shows/:params/* /.netlify/functions/next_shows_params 200 |
| 72 | +/nextimg/* /.netlify/functions/next_image 200 |
| 73 | +/static/:id /static/[id].html 200" |
| 74 | +`; |
0 commit comments