feat: range over files for paths

This commit is contained in:
ange 2024-12-14 09:19:13 +00:00
parent e9fc659a5a
commit 186491250e
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
3 changed files with 13 additions and 15 deletions

View file

@ -5,8 +5,7 @@ import (
)
func index(w http.ResponseWriter, r *http.Request) {
r.URL.Path = "/contact"
html(w, r)
http.Redirect(w, r, "/contact", http.StatusMovedPermanently)
}
func style(w http.ResponseWriter, r *http.Request) {