mirror of
https://github.com/acepanel/panel.git
synced 2026-02-05 20:47:18 +08:00
fix: 容器主机端口显示错误
This commit is contained in:
@@ -39,7 +39,7 @@ func (r *containerRepo) ListAll() ([]types.Container, error) {
|
||||
for _, port := range item.Ports {
|
||||
ports = append(ports, types.ContainerPort{
|
||||
ContainerStart: uint(port.PrivatePort),
|
||||
ContainerEnd: uint(port.PublicPort),
|
||||
ContainerEnd: uint(port.PrivatePort),
|
||||
HostStart: uint(port.PublicPort),
|
||||
HostEnd: uint(port.PublicPort),
|
||||
Protocol: port.Type,
|
||||
|
||||
@@ -2,6 +2,8 @@ package embed
|
||||
|
||||
import "embed"
|
||||
|
||||
// TODO 移到pkg目录下
|
||||
|
||||
//go:embed all:frontend/*
|
||||
var PublicFS embed.FS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user