diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-03-16 22:29:27 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-03-16 22:29:27 +0100 |
commit | f0f5567b6918fc60c8cab15e13aec03a89a91dfb (patch) | |
tree | 99dfdb9fa8273c9cda1360fd3b6bfccc515bf8be /server/controllers/api/v1/index.js | |
parent | 5101105ef91bfe478f97546b78b321882da2079c (diff) | |
download | PeerTube-f0f5567b6918fc60c8cab15e13aec03a89a91dfb.tar.gz PeerTube-f0f5567b6918fc60c8cab15e13aec03a89a91dfb.tar.zst PeerTube-f0f5567b6918fc60c8cab15e13aec03a89a91dfb.zip |
Use const/let now we use node 4.2
Diffstat (limited to 'server/controllers/api/v1/index.js')
-rw-r--r-- | server/controllers/api/v1/index.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/controllers/api/v1/index.js b/server/controllers/api/v1/index.js index b562bc2af..45f07ae1f 100644 --- a/server/controllers/api/v1/index.js +++ b/server/controllers/api/v1/index.js | |||
@@ -1,12 +1,12 @@ | |||
1 | 'use strict' | 1 | 'use strict' |
2 | 2 | ||
3 | var express = require('express') | 3 | const express = require('express') |
4 | 4 | ||
5 | var router = express.Router() | 5 | const router = express.Router() |
6 | 6 | ||
7 | var podsController = require('./pods') | 7 | const podsController = require('./pods') |
8 | var remoteVideosController = require('./remoteVideos') | 8 | const remoteVideosController = require('./remoteVideos') |
9 | var videosController = require('./videos') | 9 | const videosController = require('./videos') |
10 | 10 | ||
11 | router.use('/pods', podsController) | 11 | router.use('/pods', podsController) |
12 | router.use('/remotevideos', remoteVideosController) | 12 | router.use('/remotevideos', remoteVideosController) |