1
0
Fork 0
gluestick/next.config.js

21 lines
415 B
JavaScript
Raw Permalink Normal View History

2023-04-24 22:40:19 -04:00
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
appDir: true
2023-04-28 21:19:06 -04:00
},
2023-04-29 21:36:00 -04:00
output: "standalone",
// Allow Dex to use gluestick in an iframe
headers: async () => {
return [{
source: "/dex/(.*)",
headers: [{
key: "Content-Security-Policy",
value: `frame-ancestors 'self' ${process.env.DEX_DOMAIN}`
}]
}]
}
2023-04-24 22:40:19 -04:00
};
module.exports = nextConfig;