-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.ts
41 lines (39 loc) · 1.11 KB
/
next.config.ts
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
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
staticPageGenerationTimeout: 300,
images: {
domains: [
'www.notion.so',
'notion.so',
'images.unsplash.com',
'abs.twimg.com',
'pbs.twimg.com',
's3.us-west-2.amazonaws.com'
],
formats: ['image/avif', 'image/webp']
},
experimental: {
optimizePackageImports: ["@chakra-ui/react"],
},
async redirects() {
return [
{
source: '/hackerdoc',
destination: '/hackerdoc/151dd445c69b80098be5f78f9a6b5ae2',
permanent: true, // Use true for permanent (308) redirect
},
{
source: '/pitch_deck',
destination: 'https://drive.google.com/file/d/1wqog13j5fv_aWUAU3U1UMH55U8gzwm_N/view?usp=sharing',
permanent: false, // Use true for permanent (308) redirect
},
{
source: '/sponsor_info',
destination: 'https://drive.google.com/file/d/1TaGJjI0_Q1cENsfvbcCBlU3slaYx84fh/view',
permanent: false, // Use true for permanent (308) redirect
},
];
},
};
export default nextConfig;