Permalink
Browse files

Default path of cookie to root.

  • Loading branch information...
1 parent d2e7139 commit 77d23abed1243863e827507a1c73b11a066b2dd7 @thatismatt committed Jul 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/josi/server.js
View
@@ -69,7 +69,7 @@ this.Server = function(dir) {
toHeaders: function() {
var cookies = [];
for (var key in resCookies) {
- cookies.push(key + '=' + resCookies[key] + ';');
+ cookies.push(key + '=' + resCookies[key] + '; path=/;');
}
return cookies;
}

0 comments on commit 77d23ab

Please sign in to comment.