-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathnext.config.js
More file actions
37 lines (35 loc) · 1.14 KB
/
next.config.js
File metadata and controls
37 lines (35 loc) · 1.14 KB
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
/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ["ts", "tsx", "mdx"],
images: {
remotePatterns: [
{ protocol: "https", hostname: "dl.airtable.com", pathname: "/**" },
{ protocol: "https", hostname: "v5.airtableusercontent.com", pathname: "/**" },
{ protocol: "https", hostname: "assets-global.website-files.com", pathname: "/**" },
{ protocol: "https", hostname: "www.notion.so", pathname: "/**" },
{ protocol: "https", hostname: "notion.so", pathname: "/**" },
{ protocol: "https", hostname: "secure.notion-static.com", pathname: "/**" },
{
protocol: "https",
hostname: "prod-files-secure.s3.us-west-2.amazonaws.com",
pathname: "/**",
},
{ protocol: "https", hostname: "prod-files-secure.s3.amazonaws.com", pathname: "/**" },
],
},
async headers() {
return [
{
source: "/(.*)",
headers: [
{
key: "Cross-Origin-Embedder-Policy",
value: "unsafe-none",
},
],
},
];
},
};
const withMDX = require("@next/mdx")();
module.exports = withMDX(nextConfig);