mirror of
https://github.com/YunoHost-Apps/lingva_ynh.git
synced 2024-09-03 19:36:20 +02:00
26 lines
491 B
JavaScript
26 lines
491 B
JavaScript
|
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__',
|
||
|
};
|