trailpack-hapi
Version:
Hapi.js Trailpack. This pack binds the routes compiled in trailpack-router to a Hapi Server.
21 lines (18 loc) • 335 B
JavaScript
/**
* Server Configuration
* (app.config.web)
*
* Configure the Web Server
*
* @see {@link http://trailsjs.io/doc/config/web}
*/
module.exports = {
/**
* The port to bind the web server to
*/
port: process.env.PORT || 3000,
/**
* The host to bind the web server to
*/
host: process.env.HOST || '0.0.0.0'
}