develop #1
6
main.go
6
main.go
|
@ -30,9 +30,9 @@ var dashboardHTML []byte
|
|||
func main() {
|
||||
cfg := ReadConfig()
|
||||
|
||||
fmt.Printf("Target is %s", cfg.TargetURL)
|
||||
fmt.Printf("\nListening on http://localhost:%s", cfg.ProxyPort)
|
||||
fmt.Printf("\nDashboard on http://localhost:%s", cfg.DashboardPort)
|
||||
fmt.Printf("Target is %s\n", cfg.TargetURL)
|
||||
fmt.Printf("Listening on http://127.0.0.1:%s\n", cfg.ProxyPort)
|
||||
fmt.Printf("Dashboard on http://127.0.0.1:%s\n", cfg.DashboardPort)
|
||||
fmt.Println()
|
||||
|
||||
srv := NewCaptureService(cfg.MaxCaptures)
|
||||
|
|
Loading…
Reference in a new issue