diff options
author | Alex <a.scerba02@gmail.com> | 2024-01-03 20:19:13 -0500 |
---|---|---|
committer | Alex Scerba <alex@scerba.org> | 2024-10-29 13:20:00 -0400 |
commit | 4ee6747d67303306e37cbc23eeda221449ed596f (patch) | |
tree | 8d0922d65f4d934a071a1bd631f0eaa3409ae959 /handle.go | |
parent | d51289fb24a02a2f5373f69c03a91621e2b3148f (diff) |
Remove blog
Diffstat (limited to 'handle.go')
-rw-r--r-- | handle.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ func (app *application) post(w http.ResponseWriter, r *http.Request) { path := strings.Split(r.URL.Path, "/") if len(path) > 4 { app.notFound(w) - } else if r.URL.Path == "/blog" || r.URL.Path == "/projects" { // Make a more encompasing change here + } else if r.URL.Path == "/projects" { app.aggregate(w, r) } else if path[2] == "" { http.Redirect(w, r, "/"+path[1], http.StatusFound) |