Permalink
Browse files

Removed .myHostname() function in example.

  • Loading branch information...
slickplaid committed Jun 27, 2011
1 parent 444d300 commit 7d22cc627d14b3a15accf3fb97a041e18364e975
Showing with 8 additions and 10 deletions.
  1. +8 −10 example/server.js
View
@@ -205,16 +205,14 @@ everyauth
})
.redirectPath('/')
-everyauth
- .justintv
- .myHostname('http://local.host:3000')
- .consumerKey(conf.justintv.consumerKey)
- .consumerSecret(conf.justintv.consumerSecret)
- .findOrCreateUser( function (sess, accessToken, accessSecret, justintvUser) {
- return usersByJustintvId[justintvUser.id] ||
- (usersByJustintvId[justintvUser.id] = justintvUser);
- })
- .redirectPath('/')
+everyauth.justintv
+ .consumerKey(conf.justintv.consumerKey)
+ .consumerSecret(conf.justintv.consumerSecret)
+ .findOrCreateUser( function (sess, accessToken, accessSecret, justintvUser) {
+ return usersByJustintvId[justintvUser.id] ||
+ (usersByJustintvId[justintvUser.id] = justintvUser);
+ })
+ .redirectPath('/')
everyauth.box
.apiKey(conf.box.apiKey)

0 comments on commit 7d22cc6

Please sign in to comment.