Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: local proxy on node >=18 #1239

Merged
merged 3 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable */
const { default: developMiddleware } = require('decentraland-gatsby/dist/utils/development/developMiddleware')
const { default: developMiddleware } = require('decentraland-gatsby/dist/utils/development/developMiddleware'
2fd marked this conversation as resolved.
Show resolved Hide resolved
2fd marked this conversation as resolved.
Show resolved Hide resolved

require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
Expand All @@ -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