This commit is contained in:
wangyidong
2020-12-11 10:14:29 +08:00
parent 95470ded6e
commit 51e91bc786
+1 -1
View File
@@ -35,7 +35,7 @@
pathName = location.pathname;
pathName = pathName.substring(0, pathName.lastIndexOf ('/') + 1);
document.cookie = "lang=" + lang + "; path=" + pathName + "; HttpOnly;";
document.cookie = "lang=" + lang + "; path=" + pathName + ";";
location.href = window.location.protocol + "//" + window.location.host + pathName;
}
</script>