aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'server.js')
-rw-r--r--server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.js b/server.js
index b2eeeff70..d38c5830f 100644
--- a/server.js
+++ b/server.js
@@ -53,7 +53,7 @@ app.use(bodyParser.json())
53app.use(bodyParser.urlencoded({ extended: false })) 53app.use(bodyParser.urlencoded({ extended: false }))
54// Validate some params for the API 54// Validate some params for the API
55app.use(expressValidator({ 55app.use(expressValidator({
56 customValidators: customValidators 56 customValidators: Object.assign({}, customValidators.misc, customValidators.users, customValidators.videos)
57})) 57}))
58 58
59// ----------- Views, routes and static files ----------- 59// ----------- Views, routes and static files -----------