modified: package.json

modified:   src/websrv.js
This commit is contained in:
Flummi 2016-10-23 00:39:23 +02:00
parent 8c0551cf9a
commit 062a351d18
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,7 @@
"forever-monitor": "^1.7.0",
"fs-extra": "^0.30.0",
"hapi": "^15.2.0",
"joi": "^9.2.0",
"mysql": "^2.11.1",
"read-chunk": "^2.0.0",
"request": "^2.74.0",

View File

@ -1,4 +1,5 @@
var hapi = require('hapi');
var joi = require('joi');
var cfg = require('../cfg/websrv.json');
const server = new hapi.Server();
@ -30,7 +31,7 @@ function Websrv(tlib) {
config: {
validate: {
params: {
ID: Joi.number()
ID: joi.number()
}
}
}