Skip to content

Commit 3e89765

Browse files
committed
Added basic info about port mapping
1 parent 52d7cc7 commit 3e89765

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

shared.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25402,8 +25402,7 @@ func GetExternalClient(baseUrl string) *http.Client {
2540225402
// Check if the IP in the baseUrl is a local one
2540325403
parsedUrl, err := url.Parse(baseUrl)
2540425404
if err == nil {
25405-
// Check if host has shuffle- as prefix
25406-
25405+
// Check if host has shuffle- as prefix OR uses a shuffle-specific port
2540725406
// Check until 33350 (Orborus -> Worker and Worker -> Apps)
2540825407
if strings.HasSuffix(parsedUrl.Host, "shuffle-") || parsedUrl.Port() == "33333" || parsedUrl.Port() == "33334" || parsedUrl.Port() == "33335" || parsedUrl.Port() == "33336" || parsedUrl.Port() == "33337" || parsedUrl.Port() == "33338" || parsedUrl.Port() == "33339" || parsedUrl.Port() == "33340" || parsedUrl.Port() == "33341" || parsedUrl.Port() == "33342" || parsedUrl.Port() == "33343" || parsedUrl.Port() == "33344" || parsedUrl.Port() == "33345" || parsedUrl.Port() == "33346" || parsedUrl.Port() == "33347" || parsedUrl.Port() == "33348" || parsedUrl.Port() == "33349" || parsedUrl.Port() == "33350" {
2540925408

0 commit comments

Comments
 (0)