mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
fix: keep_path
This commit is contained in:
@@ -1216,7 +1216,7 @@ class site_api:
|
||||
|
||||
_rTypeCode = 0 if _rType == "301" else 1
|
||||
_typeCode = 0 if _type == "path" else 1
|
||||
|
||||
_keepPath = 1 if _keepPath == "1" else 0
|
||||
|
||||
file_content = ""
|
||||
# path
|
||||
|
||||
@@ -1490,9 +1490,6 @@ function to301(siteName, type, obj){
|
||||
res = JSON.parse(res);
|
||||
if (res.status) {
|
||||
layer.close(redirect_form);
|
||||
setTimeout(function() {
|
||||
location.reload();
|
||||
}, 1000);
|
||||
to301(siteName)
|
||||
} else {
|
||||
layer.msg(res.msg);
|
||||
|
||||
Reference in New Issue
Block a user