This commit is contained in:
lunaticbum 2024-12-06 18:27:51 +09:00
parent a1faf405c8
commit 0948fd50b4

View File

@ -109,22 +109,22 @@ function postLogin(target,type, data, key,callBackResult) {
function mainPath() {
console.log(`location.port >> ${location.port}`)
if ('443' === location.port) {
location = location.protocol + "//" + location.hostname + ":" + location.port
document.location.replace(location.protocol + "//" + location.hostname + ":" + location.port)
} else {
location = location.protocol + "//" + location.hostname
document.location.replace(location.protocol + "//" + location.hostname)
}
}
function gotoWrite() {
document.location.href = getMainPath()+"/blog/write"
document.location.replace(getMainPath()+"/blog/write")
}
function gotoModify() {
document.location.href = getMainPath()+"/blog/modify"
document.location.replace(getMainPath()+"/blog/modify")
}
function gotoWhere() {
document.location.href = getMainPath()+"/bums/where"
document.location.replace(getMainPath()+"/bums/where")
}
function logout() {