Skip to content

Commit

Permalink
fix: local proxy on node >=18 (#1239)
Browse files Browse the repository at this point in the history
* fix: local proxy on node >=18

* fix: dev import

* Update gatsby-config.js

Signed-off-by: frami <[email protected]>

---------

Signed-off-by: frami <[email protected]>
  • Loading branch information
2fd authored Sep 20, 2023
1 parent 28de034 commit 809762c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
},
developMiddleware: developMiddleware({
prefix: `/api`,
url: `http://localhost:4000`,
url: `http://127.0.0.1:4000`,
}),
plugins: [
`gatsby-plugin-react-helmet`,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.0.0-development",
"description": "",
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"test": "jest --no-cache --runInBand",
Expand Down

0 comments on commit 809762c

Please sign in to comment.