From 7dad6559b41e9085afb5da6959a622ea6ad6fc10 Mon Sep 17 00:00:00 2001 From: Nil Date: Sat, 13 Jul 2024 18:35:50 +0200 Subject: [PATCH] chore: Update tablesPath constant in main.go to use relative path "./tables" instead of "../tables" --- backend/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main.go b/backend/main.go index 2b3d439..ff4c427 100644 --- a/backend/main.go +++ b/backend/main.go @@ -55,7 +55,7 @@ func processRequest(requestBody RequestBody) string { } func searchHash(hash string) []string { - const tablesPath = "../tables" + const tablesPath = "./tables" files, err := os.ReadDir(tablesPath) if err != nil { fmt.Printf("Error reading directory: %v\n", err)