Files
erika/next.config.ts
T

29 lines
530 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
allowedDevOrigins: ['test.gunshiz.top'],
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'cdn.discordapp.com',
},
],
},
async headers() {
return [
{
source: '/(.*)',
headers: [
{
key: 'Content-Security-Policy',
value: "frame-src 'self' https://file.gunshiz.top; ",
},
],
},
];
},
};
export default nextConfig;