aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2015-12-14 21:09:25 +0100
committerChocobozzz <florian.bigard@gmail.com>2015-12-14 22:13:03 +0100
commit656ea8f70e848b03c0b668584dd533d72b376498 (patch)
treefa49512e3a3702a80d027838e5ab7486baca185a /routes
parent1d7974c758d363a0037c2a7ed05a0848d3c027a4 (diff)
downloadPeerTube-656ea8f70e848b03c0b668584dd533d72b376498.tar.gz
PeerTube-656ea8f70e848b03c0b668584dd533d72b376498.tar.zst
PeerTube-656ea8f70e848b03c0b668584dd533d72b376498.zip
Create a constants module to easily modify some constants in a test
instance for example.
Diffstat (limited to 'routes')
-rw-r--r--routes/index.js4
1 files changed, 3 insertions, 1 deletions
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 @@
1;(function () { 1;(function () {
2 'use strict' 2 'use strict'
3 3
4 var constants = require('../src/constants')
5
4 var routes = { 6 var routes = {
5 api: require('./api/' + global.API_VERSION), 7 api: require('./api/' + constants.API_VERSION),
6 views: require('./views') 8 views: require('./views')
7 } 9 }
8 10