Skip to content

Commit

Permalink
chore: Update tablesPath constant in main.go to use relative path "./…
Browse files Browse the repository at this point in the history
…tables" instead of "../tables"
  • Loading branch information
nilgaar committed Jul 13, 2024
1 parent 5960e2c commit 7dad655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7dad655

Please sign in to comment.