diff --git a/packages/generator-react-server/generators/app/templates/package.json b/packages/generator-react-server/generators/app/templates/package.json index 5bbbdf027..089de11cf 100644 --- a/packages/generator-react-server/generators/app/templates/package.json +++ b/packages/generator-react-server/generators/app/templates/package.json @@ -5,7 +5,7 @@ "main": "HelloWorld.js", "scripts": { "compile": "gulp", - "start": "react-server-cli --routes build/routes.js", + "start": "react-server-cli --port 3010 --js-port 3011 --routes build/routes.js", "test": "xo && nsp check && ava test.js" }, "license": "Apache-2.0", diff --git a/packages/generator-react-server/generators/app/templates/test.js b/packages/generator-react-server/generators/app/templates/test.js index 4ca5d4831..8c49cd7f3 100644 --- a/packages/generator-react-server/generators/app/templates/test.js +++ b/packages/generator-react-server/generators/app/templates/test.js @@ -39,7 +39,7 @@ function getResponseCode(url) { return new Promise((resolve, reject) => { const req = http.get({ hostname: 'localhost', - port: 3000, + port: 3010, path: url }, res => { resolve(res.statusCode);