Skip to content

Instantly share code, notes, and snippets.

@savelee
Created August 16, 2016 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save savelee/64abbeb88d6bc9667b85dc7695a0e3db to your computer and use it in GitHub Desktop.
Save savelee/64abbeb88d6bc9667b85dc7695a0e3db to your computer and use it in GitHub Desktop.
server/config/index.js
'use strict';
var path = require('path');
module.exports = {
// Environment
env: process.env.NODE_ENV,
// Root path of server
root: path.normalize(path.join(__dirname, '../..')),
// Server port
port: 8080
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment