X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=controllers%2Findex.js;h=770d082484b416139087f21b18201641b5b655d7;hb=c45f7f84001c2731909db04dd82e1c1f290386eb;hp=7dca002ff6b7d64506e88dbb2533717e1689e702;hpb=cda021079ff455cc0fd0eb95a5395fa808ab63d1;p=github%2FChocobozzz%2FPeerTube.git diff --git a/controllers/index.js b/controllers/index.js index 7dca002ff..770d08248 100644 --- a/controllers/index.js +++ b/controllers/index.js @@ -3,10 +3,8 @@ var constants = require('../initializers/constants') - var routes = { + module.exports = { api: require('./api/' + constants.API_VERSION), views: require('./views') } - - module.exports = routes })()