diff --git a/backend/app/service/app_install.go b/backend/app/service/app_install.go index 2dd243dda..1894ce065 100644 --- a/backend/app/service/app_install.go +++ b/backend/app/service/app_install.go @@ -448,10 +448,6 @@ func (a *AppInstallService) ChangeAppPort(req request.PortUpdate) error { } } - if err := OperateFirewallPort([]int{int(appInstall.Port)}, []int{int(req.Port)}); err != nil { - global.LOG.Errorf("allow firewall failed, err: %v", err) - } - return nil } diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 92499743e..0ea46bbda 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -1191,8 +1191,7 @@ const message = { takeDown: 'TakeDown', allReadyInstalled: 'Installed', installHelper: 'Configuring image acceleration can solve the problem of image pull failure', - upgradeHelper: - 'If the upgrade fails or the abnormal application needs to be synchronized to the normal state first', + upgradeHelper: 'The abnormal application needs to be synchronized to the normal state first', }, website: { website: 'Website', @@ -1502,7 +1501,7 @@ const message = { firewall: 'Firewall', dockerHelper: - 'Linux firewall {0} cannot disable Docker port mapping, you need to disable iptables in Docker configuration.', + 'Linux firewall {0} cannot disable Docker port mapping, the application can edit the parameters on the [Installed] page to control whether the port is released', quickJump: 'Quick jump', used: 'Used', unUsed: 'Unused', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 85d7fa2b4..c9bf6125a 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -1166,7 +1166,7 @@ const message = { takeDown: '已废弃', allReadyInstalled: '已安装', installHelper: '配置镜像加速可以解决镜像拉取失败的问题', - upgradeHelper: '升级失败或者异常应用需要先同步到正常状态', + upgradeHelper: '异常应用需要先同步到正常状态', }, website: { website: '网站', @@ -1463,7 +1463,7 @@ const message = { cookieBlockList: 'Cookie 黑名单', firewall: '防火墙', - dockerHelper: 'Linux 防火墙 {0} 无法禁用 Docker 端口映射,需要在 Docker 配置中禁用 iptables', + dockerHelper: 'Linux 防火墙 {0} 无法禁用 Docker 端口映射,应用可以在 [已安装] 页面编辑参数来控制端口是否放开', quickJump: '快速跳转', used: '已使用', unUsed: '未使用', diff --git a/frontend/src/views/host/firewall/port/index.vue b/frontend/src/views/host/firewall/port/index.vue index b82b061aa..529bfd39d 100644 --- a/frontend/src/views/host/firewall/port/index.vue +++ b/frontend/src/views/host/firewall/port/index.vue @@ -214,7 +214,7 @@ const onOpenDialog = async ( }; const quickJump = () => { - router.push({ name: 'ContainerSetting' }); + router.push({ name: 'AppInstalled' }); }; const toDoc = () => { window.open('https://1panel.cn/docs/user_manual/hosts/firewall/', '_blank');