Skip to content

Commit

Permalink
feat: 发布v2.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Oct 17, 2024
1 parent bc28719 commit d97697e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion internal/bootstrap/conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func initConf() {

func initGlobal() {
app.Root = app.Conf.MustString("app.root")
app.Version = "2.3.7"
app.Version = "2.3.8"
app.Locale = app.Conf.MustString("app.locale")

// 初始化时区
Expand Down
2 changes: 1 addition & 1 deletion pkg/firewall/firewall.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (r *Firewall) Port(rule FireInfo, operation Operation) error {
return fmt.Errorf("invalid port range: %d-%d", rule.PortStart, rule.PortEnd)
}
// 不支持的切换使用rich rules
if rule.Direction != "in" || (rule.Family != "" && rule.Family != "ipv4") || rule.Address != "" || rule.Strategy != "accept" {
if (rule.Family != "" && rule.Family != "ipv4") || rule.Direction != "in" || rule.Address != "" || rule.Strategy != "accept" {
return r.RichRules(rule, operation)
}

Expand Down
9 changes: 0 additions & 9 deletions web/src/views/website/IndexView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,6 @@ const columns: any = [
resizable: true,
ellipsis: { tooltip: true }
},
{
title: 'PHP',
key: 'php',
width: 60,
ellipsis: { tooltip: true },
render(row: any) {
return row.php === 0 ? '不使用' : row.php
}
},
{
title: 'SSL',
key: 'ssl',
Expand Down

0 comments on commit d97697e

Please sign in to comment.