diff --git a/cmd/fleet/serve.go b/cmd/fleet/serve.go index 1816aab9eb..a598206df8 100644 --- a/cmd/fleet/serve.go +++ b/cmd/fleet/serve.go @@ -1443,23 +1443,6 @@ the way that the Fleet server works. } rootMux.Handle("/debug/", debugHandler) - if path, ok := os.LookupEnv("FLEET_TEST_PAGE_PATH"); ok { - // test that we can load this - _, err := os.ReadFile(path) - if err != nil { - initFatal(err, "loading FLEET_TEST_PAGE_PATH") - } - rootMux.HandleFunc("/test", func(rw http.ResponseWriter, req *http.Request) { - testPage, err := os.ReadFile(path) - if err != nil { - rw.WriteHeader(http.StatusNotFound) - return - } - rw.Write(testPage) //nolint:errcheck - rw.WriteHeader(http.StatusOK) - }) - } - if debug { // Add debug endpoints with a random // authorization token diff --git a/tools/app/authtest.html b/tools/app/authtest.html deleted file mode 100644 index 1634f0f6a6..0000000000 --- a/tools/app/authtest.html +++ /dev/null @@ -1,130 +0,0 @@ - - -
- - - - - - -