-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathnext.config.ts
More file actions
34 lines (32 loc) · 774 Bytes
/
Copy pathnext.config.ts
File metadata and controls
34 lines (32 loc) · 774 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
import type { NextConfig } from "next"
const nextConfig: NextConfig = {
async redirects() {
return [
{
source: "/apple-touch-icon.png",
destination: "/logo.png",
permanent: true,
},
{
source: "/apple-touch-icon-precomposed.png",
destination: "/logo.png",
permanent: true,
},
]
},
images: {
deviceSizes: [360, 480, 640, 750, 828, 1080, 1200, 1600],
formats: ["image/webp"],
imageSizes: [32, 48, 64, 96, 128, 256, 384],
minimumCacheTTL: 2678400,
qualities: [95],
remotePatterns: [
{
protocol: "https",
hostname: "pub-17f1ae3c481641228230d1b2dcdc07ff.r2.dev",
pathname: "/projects/**",
},
],
},
}
export default nextConfig