diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-03-20 14:48:34 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-03-20 14:48:34 -0400 |
| commit | 92f612a995c54f7423bd2b760fb1a324044693a6 (patch) | |
| tree | 0350ceb82c0539bcafdded837c435ee68d6257ef /backend/src/index.js | |
| parent | 217cfed064989816fbffcb1e285134c8e03ef5c7 (diff) | |
Starting testing
Diffstat (limited to 'backend/src/index.js')
| -rw-r--r-- | backend/src/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/src/index.js b/backend/src/index.js index 3630b74..522fcfe 100644 --- a/backend/src/index.js +++ b/backend/src/index.js @@ -30,7 +30,9 @@ const server = new GraphQLServer({ // next(); // }); -server.start(() => console.log('Server is running on http://localhost:4000')); +server.start(deets => { + console.log(`Server is running on http://localhost:${deets.port}`); +}); // overwrite console.log const chalk = require('chalk'); |
