X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=routes%2Findex.js;h=f45aa7ba57f2bd7b453009818ea7ea30084e2f60;hb=656ea8f70e848b03c0b668584dd533d72b376498;hp=ecca8072164ddd6abf10783894bbce60d1971dac;hpb=1d7974c758d363a0037c2a7ed05a0848d3c027a4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/routes/index.js b/routes/index.js index ecca80721..f45aa7ba5 100644 --- a/routes/index.js +++ b/routes/index.js @@ -1,8 +1,10 @@ ;(function () { 'use strict' + var constants = require('../src/constants') + var routes = { - api: require('./api/' + global.API_VERSION), + api: require('./api/' + constants.API_VERSION), views: require('./views') }