|
@@ -1273,8 +1273,8 @@ update__trojan_panel_database() {
|
|
|
docker cp trojan-panel:${trojan_panel_config_path} ${trojan_panel_config_path} &&
|
|
|
trojan_panel_current_version="v2.1.4"
|
|
|
sed '$ a\
|
|
|
- [server]\
|
|
|
- port=8081' ${trojan_panel_config_path}
|
|
|
+[server]\
|
|
|
+port=8081' ${trojan_panel_config_path}
|
|
|
fi
|
|
|
|
|
|
echo_content skyBlue "---> Trojan Panel数据结构更新完成"
|
|
@@ -1303,8 +1303,8 @@ update__trojan_panel_core_database() {
|
|
|
docker cp trojan-panel-core:${trojan_panel_core_config_path} ${trojan_panel_core_config_path} &&
|
|
|
trojan_panel_core_current_version="v2.1.1"
|
|
|
sed '$ a\
|
|
|
- [server]\
|
|
|
- port=8082' ${trojan_panel_core_config_path}
|
|
|
+[server]\
|
|
|
+port=8082' ${trojan_panel_core_config_path}
|
|
|
fi
|
|
|
|
|
|
echo_content skyBlue "---> Trojan Panel Core数据结构更新完成"
|