Permalink
Browse files

update readme with maxAge option

  • Loading branch information...
1 parent abebe5a commit 1d50b2128be45fcb593c4802604d6ab9277cb6ce @tblobaum committed Jul 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -54,7 +54,7 @@ The `callback` function is called with `error`, `result`. Multiple callbacks can
pixel-tracker has a few configurable options.
`disable_cookies` defaults to false
-`expires` defaults to 15 minutes, which may not be desirable based on your use case
+`maxAge` defaults to 2 days, which may not be desirable based on your use case
## tracker.middleware(request, response)
A function to be called for each http request which calls `response.end` with a 1x1 pixel for every request and then calls all the functions provided with `tracker.use`. This works out of the box with express and would also work with any vanilla http server as long as a cookies implementation is provided for the response object (or cookies are disabled)

0 comments on commit 1d50b21

Please sign in to comment.