Skip to content

Commit

Permalink
fixing bugs of server writes everytime the same url requests
Browse files Browse the repository at this point in the history
  • Loading branch information
alicecuii committed Jul 29, 2022
1 parent e2e8b2f commit 6babf8e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (

"github.com/bkielbasa/garnish/garnish"
"github.com/netsec-ethz/scion-apps/pkg/pan"

)

func main() {
Expand Down Expand Up @@ -42,7 +41,7 @@ func runGarnish(address string) {
fmt.Println("Real header:" + xcache)
}
mux := http.NewServeMux()
mux.HandleFunc("/", handlers)
mux.HandleFunc("/hello", handlers)
log.Fatal(http.ListenAndServe(":8088", mux))
fmt.Println(address)

Expand Down

0 comments on commit 6babf8e

Please sign in to comment.