2021-03-21 16:02:15 +01:00
|
|
|
const withPWA = require("next-pwa");
|
|
|
|
|
|
|
|
|
|
module.exports = withPWA({
|
|
|
|
|
pwa: {
|
|
|
|
|
dest: "public"
|
2021-04-30 23:11:26 +02:00
|
|
|
},
|
|
|
|
|
future: {
|
|
|
|
|
webpack5: true
|
|
|
|
|
},
|
|
|
|
|
async headers() {
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
source: "/(.*)",
|
|
|
|
|
headers: [
|
|
|
|
|
{
|
|
|
|
|
key: "Permissions-Policy",
|
|
|
|
|
value: "interest-cohort=()"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
2021-03-21 16:02:15 +01:00
|
|
|
}
|
|
|
|
|
});
|