Skip to content

Commit

Permalink
changed some examples to a more enterprisey way
Browse files Browse the repository at this point in the history
  • Loading branch information
julianitor committed Feb 24, 2015
1 parent 3078bb8 commit 51877b7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions soluciones/tema3/simpleAuthModule/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ var express = require("express")
var users = [
{
id: 0,
username: "uno@test.com",
pass: "asdf"
username: "node@redradix.com",
pass: "redradix"
}
]

Expand Down
2 changes: 1 addition & 1 deletion soluciones/tema4/urlshort/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,5 +313,5 @@ app.listen(3000);

/* Populate */

var admin = new User({username: "eliasagc@gmail.com", password: "asdf"});
var admin = new User({username: "node@redradix.com", password: "redradix"});
admin.save().done();
4 changes: 2 additions & 2 deletions tema3/simpleAuthModule/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ var express = require("express")
var users = [
{
id: 0,
username: "uno@test.com",
pass: "asdf"
username: "node@redradix.com",
pass: "redradix"
}
]

Expand Down
1 change: 0 additions & 1 deletion tema4/urlshort/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"express": "*",
"hiredis": "*",
"redis": "*",
"static-favicon": "*",
"body-parser": "*",
"method-override": "*",
"cookie-parser": "*",
Expand Down
1 change: 0 additions & 1 deletion tema4/urlshort/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ var express = require("express"),

Q.longStackSupport = true;

app.use(require("static-favicon")());
app.use(require("body-parser")());
app.use(require("method-override")());
app.use(require("cookie-parser")("secreto"));
Expand Down

0 comments on commit 51877b7

Please sign in to comment.