Skip to content

Commit ecc1386

Browse files
Small typo
1 parent 0264aad commit ecc1386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SERVERS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var Cookies = Cookies.withConverter({
2626
// allowed in a cookie value, except for the plus sign (%2B)
2727
.replace(/%(23|24|26|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
2828
},
29-
write: function (value) {
29+
read: function (value) {
3030
return value
3131
// Decode all characters according to the "encodeURIComponent" spec
3232
.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent)

0 commit comments

Comments
 (0)