From 5bbc87902957a0106136c8aaa907ecd418842a72 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Sat, 14 Sep 2013 01:18:43 +0200 Subject: [PATCH] [TASK] Alter dependencies, add scrypt. --- app.js | 3 ++- package.json | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index 00f1494..9d7a53b 100644 --- a/app.js +++ b/app.js @@ -5,6 +5,7 @@ var fs = require("fs"); var http = require("http"); var https = require("https"); var log4js = require("log4js"); +var scrypt = require("scrypt"); //load settings var settings = require("./src/Settings.js"); @@ -38,7 +39,7 @@ app.use(express.static(__dirname + '/static')); //serve random fun stuff on /ohai ;-) 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) diff --git a/package.json b/package.json index 39a30b4..7193577 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,11 @@ "repository": "git://github.com/JPT580/dashboard.git", "author": "Jan Philipp Timme ", "dependencies": { - "express": "*", + "async": "*", "cradle": "*", + "express": "*", "log4js": "*", - "async": "*" + "scrypt": "*" }, "devDependencies": {}, "engines": {