Skip to content

Instantly share code, notes, and snippets.

@jhyland87
Created September 30, 2016 16:10
Show Gist options
  • Save jhyland87/1f3d8e3ac8a00242a3d8bbd15ef42f9b to your computer and use it in GitHub Desktop.
Save jhyland87/1f3d8e3ac8a00242a3d8bbd15ef42f9b to your computer and use it in GitHub Desktop.
'use strict';
var _appRootPath = require('app-root-path');
var appRoot = _interopRequireWildcard(_appRootPath);
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
var Controllers = appRoot.require('/dist/controllers');
module.exports = [{
method: 'GET',
path: '/status',
config: Controllers.Api.status
}, {
method: 'GET',
path: '/',
config: Controllers.Api.redirect
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment