mirror of
https://github.com/caprover/caprover
synced 2026-10-09 14:51:25 +00:00
fix: preserve custom port metadata
This commit is contained in:
1 parent
6b50009eeb
commit
be72b85ea1
1 file changed
+4
@@ -829,6 +829,10 @@ class AppsDataStore {
|
||||
appObj.ports.push({
|
||||
hostPort: hostPort,
|
||||
containerPort: containerPort,
|
||||
...(obj.protocol ? { protocol: obj.protocol } : {}),
|
||||
...(obj.publishMode
|
||||
? { publishMode: obj.publishMode }
|
||||
: {}),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user