We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e88a884 commit 280feedCopy full SHA for 280feed
1 file changed
public/assets/community/judaism.js
@@ -40,7 +40,7 @@ THE SOFTWARE.
40
if (!sKey || /^(?:expires|max\-age|path|domain|secure)$/i.test(sKey)) {
41
return false;
42
}
43
- document.cookie = escape(sKey) + "=" + escape(sValue) + "; expires=Fri, 31 Dec 9999 23:59:59 GMT; domain=stackexchange.com; path=/";
+ document.cookie = `${escape(sKey)}=${escape(sValue)}; expires=Fri, 31 Dec 9999 23:59:59 GMT; domain=${location.hostname}; path=/`;
44
return true;
45
},
46
/**
0 commit comments