From 6ca80e3d8ccd977a1f2b59cc193c528635d0cbab Mon Sep 17 00:00:00 2001 From: jd82k <135953914+jd82k@users.noreply.github.com> Date: Thu, 20 Feb 2025 22:38:37 -0800 Subject: [PATCH] Update site.js fix bugs --- web/static/app/site.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/static/app/site.js b/web/static/app/site.js index e3407f23c..9b2ae8193 100755 --- a/web/static/app/site.js +++ b/web/static/app/site.js @@ -1551,7 +1551,7 @@ function to301(siteName, type, obj){ if (res.status) { var data = res.data.result; data.forEach(function(item){ - var lan_r_type = item.r_type == 0 ? "永久重定向" : "临时重定向"; + var lan_r_type = item.r_type == 0 ? "临时重定向" : "永久重定向"; var keep_path = item.keep_path == 0 ? "不保留" : "保留"; var switchProxy = ''; @@ -3248,4 +3248,4 @@ function tryRestartPHP(siteName){ layer.msg( 'PHP['+phpversion+']'+(data.status?'重启成功!':'重启失败!'),{icon:data.status?1:2,time:3000,shade: [0.3, '#000']}); },'json'); },'json'); -} \ No newline at end of file +}