update JetBrains License Server
This commit is contained in:
parent
00ed960c51
commit
b4e63f8353
BIN
utils/idea/idea
Executable file
BIN
utils/idea/idea
Executable file
Binary file not shown.
@ -24,10 +24,10 @@ func main() {
|
||||
host := flag.String("host", "0.0.0.0", "Bind TCP Address")
|
||||
flag.Parse()
|
||||
|
||||
log.Println("************************************************************")
|
||||
log.Println("*************************************************************")
|
||||
log.Printf("** %-55s**", "JetBrains License Server")
|
||||
log.Printf("** %-55s**", "Please support genuine!!!")
|
||||
log.Printf("** listen on %-45s**", fmt.Sprintf("%s:%d...", *host, *port))
|
||||
log.Printf("** Listen on %-45s**", fmt.Sprintf("%s:%d...", *host, *port))
|
||||
|
||||
addr := fmt.Sprintf("%s:%d", *host, *port)
|
||||
if strings.Contains(addr, "0.0.0.0") {
|
||||
@ -36,7 +36,7 @@ func main() {
|
||||
}
|
||||
|
||||
log.Printf("** You can use %-43s**", fmt.Sprintf("http://%s:%d as license server", *host, *port))
|
||||
log.Println("************************************************************")
|
||||
log.Println("*************************************************************")
|
||||
|
||||
routerBinding()
|
||||
err := http.ListenAndServe(addr, http.DefaultServeMux)
|
||||
|
Loading…
Reference in New Issue
Block a user