|
|
|
@ -5,7 +5,7 @@ |
|
|
|
import app from '../app'; |
|
|
|
import app from '../app'; |
|
|
|
import debugLib from 'debug'; |
|
|
|
import debugLib from 'debug'; |
|
|
|
import http from 'http'; |
|
|
|
import http from 'http'; |
|
|
|
const debug = debugLib('your-project-name:server'); |
|
|
|
const debug = debugLib('es6-nodejs:server'); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Get port from environment and store in Express. |
|
|
|
* Get port from environment and store in Express. |
|
|
|
|