Skip to content

Commit

Permalink
fix: undici
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgfr committed Oct 13, 2023
1 parent 2060e8b commit b0b83fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
10 changes: 3 additions & 7 deletions targets/frontend/next.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
// Use the hidden-source-map option when you don't want the source maps to be
// publicly available on the servers, only to the error reporting
const withSourceMaps = require("@zeit/next-source-maps")();

const basePath = "";

const securityHeaders = [
{
key: "X-Frame-Options",
Expand All @@ -14,7 +8,6 @@ const securityHeaders = [
];

module.exports = {
basePath,
async headers() {
return [
{
Expand All @@ -25,6 +18,9 @@ module.exports = {
];
},
poweredByHeader: false,
httpAgentOptions: {
keepAlive: false,
},
webpack: (config, { isServer, dev }) => {
config.module.rules.push({
exclude: /node_modules/,
Expand Down
1 change: 0 additions & 1 deletion targets/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"@tiptap/react": "^2.1.10",
"@tiptap/starter-kit": "^2.0.3",
"@urql/exchange-auth": "^0.1.6",
"@zeit/next-source-maps": "0.0.4-canary.1",
"ace-builds": "^1.4.12",
"argon2": "^0.30.3",
"cookie": "^0.4.1",
Expand Down
8 changes: 0 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7185,13 +7185,6 @@ __metadata:
languageName: node
linkType: hard

"@zeit/next-source-maps@npm:0.0.4-canary.1":
version: 0.0.4-canary.1
resolution: "@zeit/next-source-maps@npm:0.0.4-canary.1"
checksum: 20f476b24eca5f414b1f58effc562dccd3b00efcbc7e3daeebe83b60370c11621cef49e3bac4fd81858f581edb2abbaddbe5dfbb843b00d96844cfdaf8ed6948
languageName: node
linkType: hard

"@zkochan/js-yaml@npm:0.0.6":
version: 0.0.6
resolution: "@zkochan/js-yaml@npm:0.0.6"
Expand Down Expand Up @@ -12364,7 +12357,6 @@ __metadata:
"@types/react-dom": ^18.0.11
"@urql/devtools": ^2.0.3
"@urql/exchange-auth": ^0.1.6
"@zeit/next-source-maps": 0.0.4-canary.1
ace-builds: ^1.4.12
argon2: ^0.30.3
cookie: ^0.4.1
Expand Down

0 comments on commit b0b83fc

Please sign in to comment.