diff --git a/relay/main.go b/relay/main.go index 02b4ca6..7c113ec 100644 --- a/relay/main.go +++ b/relay/main.go @@ -56,6 +56,13 @@ func main() { policies.PreventTimestampsInTheFuture(time.Minute*30), ) + mux := relay.Router() + // set up other http handlers + mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + w.Header().Set("content-type", "text/html") + fmt.Fprintf(w, `Welcome to scrapestr!`) + }) + fmt.Println("running on :3334") http.ListenAndServe(":3334", relay) }