diff --git a/class/core/site_api.py b/class/core/site_api.py index d211507ee..82415c579 100755 --- a/class/core/site_api.py +++ b/class/core/site_api.py @@ -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 diff --git a/route/static/app/site.js b/route/static/app/site.js index 2abee7936..2f0480299 100755 --- a/route/static/app/site.js +++ b/route/static/app/site.js @@ -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);