[TASK] Alter dependencies, add scrypt.
This commit is contained in:
parent
1f8e98c4a0
commit
5bbc879029
3
app.js
3
app.js
@ -5,6 +5,7 @@ var fs = require("fs");
|
|||||||
var http = require("http");
|
var http = require("http");
|
||||||
var https = require("https");
|
var https = require("https");
|
||||||
var log4js = require("log4js");
|
var log4js = require("log4js");
|
||||||
|
var scrypt = require("scrypt");
|
||||||
|
|
||||||
//load settings
|
//load settings
|
||||||
var settings = require("./src/Settings.js");
|
var settings = require("./src/Settings.js");
|
||||||
@ -38,7 +39,7 @@ app.use(express.static(__dirname + '/static'));
|
|||||||
|
|
||||||
//serve random fun stuff on /ohai ;-)
|
//serve random fun stuff on /ohai ;-)
|
||||||
app.use("/ohai", function(req, res) {
|
app.use("/ohai", function(req, res) {
|
||||||
res.send("ohai!");
|
res.status(200).send("ohai!");
|
||||||
});
|
});
|
||||||
|
|
||||||
//define 404 for everything else (ugly but i think it's useful)
|
//define 404 for everything else (ugly but i think it's useful)
|
||||||
|
@ -9,10 +9,11 @@
|
|||||||
"repository": "git://github.com/JPT580/dashboard.git",
|
"repository": "git://github.com/JPT580/dashboard.git",
|
||||||
"author": "Jan Philipp Timme <jan.philipp@timme.it>",
|
"author": "Jan Philipp Timme <jan.philipp@timme.it>",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"express": "*",
|
"async": "*",
|
||||||
"cradle": "*",
|
"cradle": "*",
|
||||||
|
"express": "*",
|
||||||
"log4js": "*",
|
"log4js": "*",
|
||||||
"async": "*"
|
"scrypt": "*"
|
||||||
},
|
},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
Loading…
Reference in New Issue
Block a user