From 809762c73c622b8b62103376d3615e20b143f6d0 Mon Sep 17 00:00:00 2001 From: frami Date: Tue, 19 Sep 2023 21:12:03 -0300 Subject: [PATCH] fix: local proxy on node >=18 (#1239) * fix: local proxy on node >=18 * fix: dev import * Update gatsby-config.js Signed-off-by: frami --------- Signed-off-by: frami --- gatsby-config.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index c5b0f18d9..62d660fe1 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -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`, diff --git a/package.json b/package.json index 0911e3967..e227a53f1 100644 --- a/package.json +++ b/package.json @@ -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",