1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lingva_ynh.git synced 2024-09-03 19:36:20 +02:00
lingva_ynh/conf/next.config.js

26 lines
491 B
JavaScript
Raw Normal View History

2023-05-30 19:48:47 +02:00
const withPWA = require("next-pwa");
module.exports = withPWA({
swcMinify: true,
pwa: {
dest: "public"
},
async headers() {
return [
{
source: "/(.*)",
headers: [
{
key: "Permissions-Policy",
value: "interest-cohort=()"
}
]
}
]
}
});
module.exports = {
basePath: '__NEXT_PATH__',
};