Browse Source

change port number

master
William Davis 9 months ago
parent
commit
44b8826fe4
  1. 4
      main.go

4
main.go

@ -36,8 +36,8 @@ func uploader(w http.ResponseWriter, r *http.Request) {
func server() {
http.HandleFunc("/upload", uploader)
fmt.Println("Listening on :8080...")
http.ListenAndServe(":8080", nil)
fmt.Println("Listening on :8089...")
http.ListenAndServe(":8089", nil)
}
func main() {

Loading…
Cancel
Save