Files
LingvAI/next.config.js
David cf0b310918 Added hotkeys + updated dependencies & webpack5 + humanetech badge (#15)
* Added language & theme switch hotkeys

* Hotkeys testing

* Language switch when equal

* Shortcut keys changed

* Dependencies updated & upgraded to webpack5

* Added HumaneTech badge

* Disabled FLoC
2021-04-30 23:11:26 +02:00

24 lines
462 B
JavaScript

const withPWA = require("next-pwa");
module.exports = withPWA({
pwa: {
dest: "public"
},
future: {
webpack5: true
},
async headers() {
return [
{
source: "/(.*)",
headers: [
{
key: "Permissions-Policy",
value: "interest-cohort=()"
}
]
}
]
}
});