|
1 | 1 | /** @type {import('next').NextConfig} */ |
2 | 2 | const nextConfig = { |
| 3 | + async redirects() { |
| 4 | + return [ |
| 5 | + { source: '/pricing', destination: '/', permanent: true }, |
| 6 | + { source: '/pricing/', destination: '/', permanent: true }, |
| 7 | + { source: '/faq', destination: '/', permanent: true }, |
| 8 | + { source: '/faq/', destination: '/', permanent: true }, |
| 9 | + { source: '/privacy', destination: '/terms', permanent: true }, |
| 10 | + { source: '/privacy/', destination: '/terms', permanent: true }, |
| 11 | + { source: '/success', destination: '/', permanent: true }, |
| 12 | + { source: '/success/', destination: '/', permanent: true }, |
| 13 | + { source: '/cancel', destination: '/', permanent: true }, |
| 14 | + { source: '/cancel/', destination: '/', permanent: true }, |
| 15 | + { source: '/refund', destination: '/terms', permanent: true }, |
| 16 | + { source: '/refund/', destination: '/terms', permanent: true }, |
| 17 | + ] |
| 18 | + }, |
3 | 19 | async headers() { |
4 | 20 | return [ |
5 | 21 | { |
|
0 commit comments