From ed80223e2f2f546a6bb8d53dd4db02a1ba2cccd3 Mon Sep 17 00:00:00 2001 From: tavo Date: Sun, 22 Sep 2024 10:05:58 -0600 Subject: [PATCH] api only --- server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.go b/server/main.go index f0d762d..a8880d3 100644 --- a/server/main.go +++ b/server/main.go @@ -131,7 +131,7 @@ func main() { http.HandleFunc("/api/directory/", VerifyDirectoryHandler(db)) http.HandleFunc("/api/fetch/", FetchSiteHandler(db)) http.HandleFunc("/api/upload", UploadFileHandler(s3Client, endpoint, apiEndpoint, apiToken, bucketName, publicEndpoint)) - http.Handle("/", http.FileServer(http.Dir("./public"))) + // http.Handle("/", http.FileServer(http.Dir("./public"))) stop := make(chan os.Signal, 1) signal.Notify(stop, syscall.SIGINT, syscall.SIGTERM)