Created
September 30, 2016 16:10
-
-
Save jhyland87/1f3d8e3ac8a00242a3d8bbd15ef42f9b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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