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

pull/1/head
BodgeMaster 2025-06-14 17:39:04 +02:00
parent b0a5e9a457
commit e473f87e33
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
cookie, _ := r.Cookie("threadr_cookie_banner")
aboutContent, err := ioutil.ReadFile("config/about.template")
aboutContent, err := ioutil.ReadFile("config/about_page.htmlbody")
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)
return
}