mirror of
https://github.com/luckjiawei/podux.git
synced 2026-11-30 00:56:47 +00:00
🚑 Fix proxy type issue.
This commit is contained in:
1 parent
e37661c6e9
commit
1bdd35a234
1 file changed
+2
@@ -170,6 +170,8 @@ func (fs *Service) genProxyCfgs(serverId *string) ([]v1.ProxyConfigurer, error)
|
|||||||
if proxyMap.ProxyType == "http" || proxyMap.ProxyType == "https" {
|
if proxyMap.ProxyType == "http" || proxyMap.ProxyType == "https" {
|
||||||
delete(proxyData, "remotePort")
|
delete(proxyData, "remotePort")
|
||||||
}
|
}
|
||||||
|
proxyData["type"] = proxyMap.ProxyType
|
||||||
|
delete(proxyData, "proxyType")
|
||||||
proxyData["name"] = proxyMap.Name + "-" + proxyMap.Id
|
proxyData["name"] = proxyMap.Name + "-" + proxyMap.Id
|
||||||
|
|
||||||
// Remove empty plugin map so frp doesn't try to parse a typeless plugin
|
// Remove empty plugin map so frp doesn't try to parse a typeless plugin
|
||||||
|
|||||||
Reference in new issue
Block a user