Skip to content

Commit

Permalink
update libs (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-korotya authored Aug 30, 2024
1 parent 66478a3 commit a36b10d
Show file tree
Hide file tree
Showing 7 changed files with 1,891 additions and 415 deletions.
46 changes: 31 additions & 15 deletions client/next.config.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,36 @@
const nextConfig = {
async headers() {
return [
async headers() {
return [
{
source: "/",
headers: [
{
source: '/',
headers: [
{
key: 'Access-Control-Allow-Origin',
value: '*',
}
],
key: "Access-Control-Allow-Origin",
value: "*",
},
]
],
},
publicRuntimeConfig: {
NEXT_PUBLIC_ISSUER_URL: process.env.NEXT_PUBLIC_ISSUER_URL,
},
}
];
},
publicRuntimeConfig: {
NEXT_PUBLIC_ISSUER_URL: process.env.NEXT_PUBLIC_ISSUER_URL,
},

module.exports = nextConfig
webpack: (config, options) => {
const opt = {
...config,
optimization: {
...config.optimization,
splitChunks: false,
// runtimeChunk: false,
// minimize: false,
// emitOnErrors: false,
// usedExports: false
},
};
// console.log(opt);
return opt;
},
};

module.exports = nextConfig;
Loading

0 comments on commit a36b10d

Please sign in to comment.