-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.ts
More file actions
38 lines (35 loc) · 1.06 KB
/
Copy pathnext.config.ts
File metadata and controls
38 lines (35 loc) · 1.06 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
38
import type { NextConfig } from "next";
// const cspHeader = `
// default-src 'self';
// script-src 'self' 'unsafe-inline' https://clerk.youtube.marcelolsen.dev https://challenges.cloudflare.com https://stream.mux.com https://e1b9ih0fkn.ufs.sh https://inferred.litix.io;
// connect-src 'self' https://clerk.youtube.marcelolsen.dev https://stream.mux.com https://e1b9ih0fkn.ufs.sh https://inferred.litix.io;
// img-src 'self' https://img.clerk.com;
// worker-src 'self' blob:;
// style-src 'self' 'unsafe-inline';
// frame-src 'self' https://challenges.cloudflare.com;
// form-action 'self';
// `
const nextConfig: NextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "e1b9ih0fkn.ufs.sh",
}
],
},
// async headers() {
// return [
// {
// source: "/:path*",
// headers: [
// {
// key: 'Content-Security-Policy',
// value: cspHeader.replace(/\n/g, ''),
// },
// ],
// },
// ];
// },
};
export default nextConfig;