More cleanup
This commit is contained in:
parent
fc79a708f4
commit
33f7ead323
6 changed files with 9 additions and 67 deletions
|
|
@ -1,38 +0,0 @@
|
|||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
experimental: {
|
||||
appDir: true,
|
||||
serverActions: true,
|
||||
},
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "vercel.com",
|
||||
port: "",
|
||||
pathname: "/api/www/avatar/**",
|
||||
},
|
||||
],
|
||||
},
|
||||
headers: async () => {
|
||||
// https://webcontainers.io/guides/quickstart#cross-origin-isolation
|
||||
return [
|
||||
{
|
||||
source: "/(.*)",
|
||||
headers: [
|
||||
{
|
||||
key: "Cross-Origin-Embedder-Policy",
|
||||
value: "require-corp",
|
||||
},
|
||||
{
|
||||
key: "Cross-Origin-Opener-Policy",
|
||||
value: "same-origin",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Loading…
Add table
Add a link
Reference in a new issue