Skip to content

Commit

Permalink
change: moved stat template file to templs directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamza12700 committed Sep 16, 2024
1 parent 7c24f03 commit 54e4394
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func Stats(w http.ResponseWriter, r *http.Request) {
return
}

templ := template.Must(template.ParseFiles("./static/stat.html"))
templ := template.Must(template.ParseFiles("./templs/stat.html"))
db := database.ConnectDB()
defer db.Close()

Expand Down
File renamed without changes.

0 comments on commit 54e4394

Please sign in to comment.