.
This commit is contained in:
parent
a1faf405c8
commit
0948fd50b4
@ -109,22 +109,22 @@ function postLogin(target,type, data, key,callBackResult) {
|
|||||||
function mainPath() {
|
function mainPath() {
|
||||||
console.log(`location.port >> ${location.port}`)
|
console.log(`location.port >> ${location.port}`)
|
||||||
if ('443' === location.port) {
|
if ('443' === location.port) {
|
||||||
location = location.protocol + "//" + location.hostname + ":" + location.port
|
document.location.replace(location.protocol + "//" + location.hostname + ":" + location.port)
|
||||||
} else {
|
} else {
|
||||||
location = location.protocol + "//" + location.hostname
|
document.location.replace(location.protocol + "//" + location.hostname)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function gotoWrite() {
|
function gotoWrite() {
|
||||||
document.location.href = getMainPath()+"/blog/write"
|
document.location.replace(getMainPath()+"/blog/write")
|
||||||
}
|
}
|
||||||
|
|
||||||
function gotoModify() {
|
function gotoModify() {
|
||||||
document.location.href = getMainPath()+"/blog/modify"
|
document.location.replace(getMainPath()+"/blog/modify")
|
||||||
}
|
}
|
||||||
|
|
||||||
function gotoWhere() {
|
function gotoWhere() {
|
||||||
document.location.href = getMainPath()+"/bums/where"
|
document.location.replace(getMainPath()+"/bums/where")
|
||||||
}
|
}
|
||||||
|
|
||||||
function logout() {
|
function logout() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user