Buckets:
| import createMdx from '@next/mdx' | |
| const withMdx = createMdx() | |
| export default withMdx({ | |
| typedRoutes: true, | |
| pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'], | |
| async rewrites() { | |
| return [ | |
| { | |
| source: '/rewrite', | |
| destination: 'https://nextjs.org', | |
| }, | |
| { | |
| source: '/rewrite-any/(.*)', | |
| destination: 'https://nextjs.org', | |
| }, | |
| { | |
| source: '/rewrite-one-or-more/:param+', | |
| destination: 'https://nextjs.org', | |
| }, | |
| { | |
| source: '/rewrite-all/:param*', | |
| destination: 'https://nextjs.org', | |
| }, | |
| { | |
| source: '/rewrite-param/:param/page', | |
| destination: 'https://nextjs.org', | |
| }, | |
| ] | |
| }, | |
| async redirects() { | |
| return [ | |
| { | |
| source: '/redirect', | |
| destination: 'https://nextjs.org', | |
| permanent: false, | |
| }, | |
| { | |
| source: '/redirect(/v1)?/guides/:param/page', | |
| destination: 'https://nextjs.org', | |
| permanent: false, | |
| }, | |
| ] | |
| }, | |
| }) | |
Xet Storage Details
- Size:
- 1.01 kB
- Xet hash:
- 0e9d97ae253d2116bfd6f8bb7151fb681544e154202028f187af44b6a5d748b8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.