mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 03:32:34 +08:00
v1.0.0beta17fix
~修复下载yacd面板后无法自动配置访问IP的bug
This commit is contained in:
parent
aaa1228319
commit
558a2ee6d8
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
clash_v=1.2.0
|
||||
clashpre_v=2020.10.26
|
||||
GeoIP_v=20201108
|
||||
versionsh=1.0.0beta17
|
||||
versionsh=1.0.0beta17fix
|
||||
|
|
|
@ -654,8 +654,8 @@ getdb(){
|
|||
sed -i "s/127.0.0.1/${host}/g" $dbdir/static/js/*.js
|
||||
sed -i "s/9090/${db_port}/g" $dbdir/static/js/*.js
|
||||
else
|
||||
sed -i "s/127.0.0.1/${host}/g" $dbdir/app*.js
|
||||
sed -i "s/7892/${db_port}/g" $dbdir/app*.js
|
||||
sed -i "s/127.0.0.1:9090/${host}:${db_port}/g" $dbdir/app*.js
|
||||
#sed -i "s/7892/${db_port}/g" $dbdir/app*.js
|
||||
fi
|
||||
#如果clash在运行则重启clash服务
|
||||
[ "$dbdir" != "/www/clash" ] && [ -n "$PID" ] && $clashdir/start.sh restart
|
||||
|
|
Loading…
Reference in New Issue
Block a user