-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnext.config.ts
More file actions
43 lines (41 loc) · 928 Bytes
/
Copy pathnext.config.ts
File metadata and controls
43 lines (41 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
images: {
remotePatterns: [
{
protocol: 'https',
hostname: '*.supabase.co',
pathname: '/storage/v1/object/public/avatars/**',
},
{
protocol: 'https',
hostname: 'unavatar.io',
},
],
},
async redirects() {
return [
{
source: '/data',
destination: 'https://docs.google.com/spreadsheets/d/1xWmIHyEyOmPHfkYuZkucPRlLGWbb9CF6Oqvfl8FUV6k/edit?gid=377806756#gid=377806756',
permanent: false,
},
{
source: '/miami',
destination: '/consensus',
permanent: false,
},
{
source: '/nyc',
destination: '/nytechweek',
permanent: false,
},
{
source: '/toronto',
destination: '/ttw',
permanent: false,
},
];
},
};
export default nextConfig;