diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-02 18:36:06 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-02 18:36:06 +0200 |
| commit | 49766901293631aeabfc96e8d80aba305f420630 (patch) | |
| tree | 56ada5226ac5d47a8277de00022190ab946490a1 /backend/home.go | |
| parent | 1168ac60d3a22c0d354f291fd657ad302df6ec05 (diff) | |
feat(backend): config to set domain
Diffstat (limited to 'backend/home.go')
| -rw-r--r-- | backend/home.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/home.go b/backend/home.go index a7f2ae1..83e04d9 100644 --- a/backend/home.go +++ b/backend/home.go @@ -7,7 +7,7 @@ import ( ) func HandleHome(r *chi.Mux) { - r.Get("/", func(w http.ResponseWriter, _ *http.Request) { + r.Get("/", func(w http.ResponseWriter, r *http.Request) { d := &data{ title: "", Article: false, @@ -16,6 +16,6 @@ func HandleHome(r *chi.Mux) { Image: "", Description: "", } - d.handleGeneric(w, "home") + d.handleGeneric(w, r, "home") }) } |
