build 1
This commit is contained in:
2
main.go
2
main.go
@@ -128,7 +128,7 @@ func proxy(w http.ResponseWriter, r *http.Request, client *http.Client, pathname
|
||||
func main() {
|
||||
http.HandleFunc("/", fetchHandler)
|
||||
|
||||
err := http.ListenAndServe(fmt.Sprintf(":%d", 8091), nil)
|
||||
err := http.ListenAndServe(fmt.Sprintf(":%d", 80), nil)
|
||||
if err != nil {
|
||||
fmt.Println("run server error: ", err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user