Servus Josh, thanx for your answer!
Am Sonntag, 1. April 2012 22:29:48 UTC+2 schrieb jesusabdullah: > > > https://github.com/jesusabdullah/whatismyip.nodejitsu.com/blob/master/server.js#L8-14 > > I'm sure you can also make this work within the context of flatiron. > > seems, that the flatiron req is diffrent from "standard": TypeError: Cannot read property 'remoteAddress' of undefined Thats the "context": app.http.before = [ ecstatic(__dirname + '/../site'), function (req, res) { app.log.info("REQ - " + getIP(req)); res.emit('next'); } ]; Wolfgang > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
