1
0
mirror of https://shylinux.com/x/volcanos synced 2025-05-05 20:57:01 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2022-11-15 23:14:10 +08:00
parent c91ae59193
commit d5c4ae3971

View File

@ -196,7 +196,7 @@ Volcanos("misc", {Message: function(event, can) { var msg = {}
return search? location.search = search: location.href = location.pathname
},
CookieSessid: function(can, value, path) {
return can.misc.Cookie(can, ice.MSG_SESSID+"_"+can.base.replaceAll(location.port, ice.PT, "_", ice.DF, "_"), value, path)
return can.misc.Cookie(can, ice.MSG_SESSID+"_"+(can.base.replaceAll(location.port, ice.PT, "_", ice.DF, "_")||(location.protocol == "https:"? "443": "80")), value, path)
return can.misc.Cookie(can, ice.MSG_SESSID+"_"+can.base.replaceAll(location.host, ice.PT, "_", ice.DF, "_"), value, path)
},
Cookie: function(can, key, value, path) {