aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/index.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-03-16 22:29:27 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-03-16 22:29:27 +0100
commitf0f5567b6918fc60c8cab15e13aec03a89a91dfb (patch)
tree99dfdb9fa8273c9cda1360fd3b6bfccc515bf8be /server/middlewares/index.js
parent5101105ef91bfe478f97546b78b321882da2079c (diff)
downloadPeerTube-f0f5567b6918fc60c8cab15e13aec03a89a91dfb.tar.gz
PeerTube-f0f5567b6918fc60c8cab15e13aec03a89a91dfb.tar.zst
PeerTube-f0f5567b6918fc60c8cab15e13aec03a89a91dfb.zip
Use const/let now we use node 4.2
Diffstat (limited to 'server/middlewares/index.js')
-rw-r--r--server/middlewares/index.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/middlewares/index.js b/server/middlewares/index.js
index c85899b0c..d85f6261c 100644
--- a/server/middlewares/index.js
+++ b/server/middlewares/index.js
@@ -1,10 +1,10 @@
1'use strict' 1'use strict'
2 2
3var cacheMiddleware = require('./cache') 3const cacheMiddleware = require('./cache')
4var reqValidatorsMiddleware = require('./reqValidators') 4const reqValidatorsMiddleware = require('./reqValidators')
5var secureMiddleware = require('./secure') 5const secureMiddleware = require('./secure')
6 6
7var middlewares = { 7const middlewares = {
8 cache: cacheMiddleware, 8 cache: cacheMiddleware,
9 reqValidators: reqValidatorsMiddleware, 9 reqValidators: reqValidatorsMiddleware,
10 secure: secureMiddleware 10 secure: secureMiddleware