mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 05:00:22 +03:00
@@ -177,6 +177,9 @@ func getConsoleEndpoints() (consoleEndpoints []string) {
|
||||
}
|
||||
|
||||
func getAPIEndpoints() (apiEndpoints []string) {
|
||||
if globalMinioEndpoint != "" {
|
||||
return []string{globalMinioEndpoint}
|
||||
}
|
||||
var ipList []string
|
||||
if globalMinioHost == "" {
|
||||
ipList = sortIPs(mustGetLocalIP4().ToSlice())
|
||||
|
||||
Reference in New Issue
Block a user