blank-web-sdk
Advanced tools
Comparing version 0.0.24 to 0.0.25
@@ -93,3 +93,2 @@ "use strict"; | ||
} | ||
cookie += expires + "; path=/"; | ||
@@ -99,3 +98,3 @@ var hostname = document.location.hostname.split("."); | ||
var h = hostname.slice(i).join("."); | ||
document.cookie = cookie + "; domain=." + h + ";"; | ||
document.cookie = "" + cookie + expires + "; path=/; domain=." + h + ";"; | ||
//If we erasing cookie, it will be erased for all subdomains | ||
@@ -102,0 +101,0 @@ if (document.cookie.indexOf(cookie) > -1) { |
{ | ||
"name": "blank-web-sdk", | ||
"version": "0.0.24", | ||
"version": "0.0.25", | ||
"description": "SDK for web applications created with Blank back-end", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is too big to display
413542
10428