mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 01:26:43 +00:00
feat(frontend): setting next-i18next
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// next.config.js
|
||||
const { i18n } = require("./next-i18next.config.js");
|
||||
const nextTranslate = require("next-translate");
|
||||
|
||||
const ContentSecurityPolicy = `
|
||||
@@ -50,7 +50,7 @@ const securityHeaders = [
|
||||
},
|
||||
];
|
||||
|
||||
module.exports = nextTranslate({
|
||||
module.exports = {
|
||||
output: "standalone",
|
||||
async headers() {
|
||||
return [
|
||||
@@ -64,4 +64,5 @@ module.exports = nextTranslate({
|
||||
webpack: (config, { isServer, webpack }) => {
|
||||
return config;
|
||||
},
|
||||
});
|
||||
i18n,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user