config: rename files to better hint at what they’re used for

master
BodgeMaster 2025-06-14 17:39:04 +02:00
parent 0bee74ab5b
commit 869d974f71
3 changed files with 3 additions and 3 deletions

View File

@ -14,9 +14,9 @@ func AboutHandler(app *App) http.HandlerFunc {
loggedIn := session.Values["user_id"] != nil loggedIn := session.Values["user_id"] != nil
cookie, _ := r.Cookie("threadr_cookie_banner") cookie, _ := r.Cookie("threadr_cookie_banner")
aboutContent, err := ioutil.ReadFile("config/about.template") aboutContent, err := ioutil.ReadFile("config/about_page.htmlbody")
if err != nil { if err != nil {
log.Printf("Error reading about.template: %v", err) log.Printf("Error reading about_page.htmlbody: %v", err)
http.Error(w, "Internal Server Error", http.StatusInternalServerError) http.Error(w, "Internal Server Error", http.StatusInternalServerError)
return return
} }