[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 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)
|
||||
|
@ -9,10 +9,11 @@
|
||||
"repository": "git://github.com/JPT580/dashboard.git",
|
||||
"author": "Jan Philipp Timme <jan.philipp@timme.it>",
|
||||
"dependencies": {
|
||||
"express": "*",
|
||||
"async": "*",
|
||||
"cradle": "*",
|
||||
"express": "*",
|
||||
"log4js": "*",
|
||||
"async": "*"
|
||||
"scrypt": "*"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"engines": {
|
||||
|
Loading…
Reference in New Issue
Block a user