Skip to content

Commit

Permalink
Set default port to 1444
Browse files Browse the repository at this point in the history
  • Loading branch information
yandeu committed Apr 25, 2019
1 parent b7c1445 commit c7fbc12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ $ cd phaser3-multiplayer-game
# Install dependencies
$ npm install

# Start the local development server (on port 3000)
# Start the local development server (on port 1444)
$ npm run dev
```
2 changes: 1 addition & 1 deletion client/scenes/gameScene.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default class GameScene extends Scene {

try {
let res = await axios.get(
`${location.protocol}//${location.hostname}:3000/getState`
`${location.protocol}//${location.hostname}:1444/getState`
)

let parsedUpdates = parseUpdates(res.data.state)
Expand Down
2 changes: 1 addition & 1 deletion server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const PhaserGame = require('./game/game')

const app = express()
const game = new PhaserGame()
const port = 3000
const port = 1444

app.use(cors())
app.use(compression())
Expand Down

0 comments on commit c7fbc12

Please sign in to comment.