Update port
This commit is contained in:
@@ -35,8 +35,8 @@ func server() error {
|
||||
http.HandleFunc("/mysql", state.connectDB)
|
||||
http.HandleFunc("/report", state.report)
|
||||
|
||||
slog.Info("listening", "addr", "4001")
|
||||
err := http.ListenAndServe(":4001", http.DefaultServeMux)
|
||||
slog.Info("listening", "addr", "62120")
|
||||
err := http.ListenAndServe(":62120", http.DefaultServeMux)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user