[TASK] Alter dependencies, add scrypt.

This commit is contained in:
Jan Philipp Timme 2013-09-14 01:18:43 +02:00
parent 1f8e98c4a0
commit 5bbc879029
2 changed files with 5 additions and 3 deletions

3
app.js
View File

@ -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)

View File

@ -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": {