aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/index.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-21 12:16:28 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-21 12:16:28 +0200
commitf253b1c1f19d9cb056ab95b2cb6208952e073894 (patch)
treece75f6a96d9ceebd09d33cedfa008c4efb32477b /server/controllers/index.js
parent844e39c2f843c6e2db81699176f13972c29c42fa (diff)
downloadPeerTube-f253b1c1f19d9cb056ab95b2cb6208952e073894.tar.gz
PeerTube-f253b1c1f19d9cb056ab95b2cb6208952e073894.tar.zst
PeerTube-f253b1c1f19d9cb056ab95b2cb6208952e073894.zip
Server: remove v1 directory, we don't really need it
Diffstat (limited to 'server/controllers/index.js')
-rw-r--r--server/controllers/index.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/controllers/index.js b/server/controllers/index.js
index 4c1d3dafe..6a3f3f98f 100644
--- a/server/controllers/index.js
+++ b/server/controllers/index.js
@@ -1,8 +1,6 @@
1'use strict' 1'use strict'
2 2
3const constants = require('../initializers/constants') 3const apiController = require('./api/')
4
5const apiController = require('./api/' + constants.API_VERSION)
6 4
7module.exports = { 5module.exports = {
8 api: apiController 6 api: apiController