diff --git a/components/dashboard/craco.config.js b/components/dashboard/craco.config.js index ec065280ed4566..7ff633362da906 100644 --- a/components/dashboard/craco.config.js +++ b/components/dashboard/craco.config.js @@ -51,7 +51,7 @@ module.exports = { client: { webSocketURL: { hostname: process.env.HMR_HOST ? new URL(process.env.HMR_HOST).hostname : "localhost", - port: process.env.HMR_HOST ? 443 : 3000, + port: process.env.HMR_HOST ? 443 : 3001, protocol: "wss", }, }, diff --git a/components/dashboard/package.json b/components/dashboard/package.json index 3b3a0f62c4a6f9..fb84cc85244d71 100644 --- a/components/dashboard/package.json +++ b/components/dashboard/package.json @@ -83,7 +83,7 @@ "web-vitals": "^1.1.1" }, "scripts": { - "start": "BROWSER=none HMR_HOST=`gp url 3000` craco start", + "start": "BROWSER=none HMR_HOST=`gp url 3001` craco start", "build": "craco build --verbose", "lint": "eslint --max-warnings=0 --ext=.jsx,.js,.tsx,.ts ./src", "test": "yarn test:unit",