aboutsummaryrefslogtreecommitdiff
path: root/handle.go
diff options
context:
space:
mode:
Diffstat (limited to 'handle.go')
-rw-r--r--handle.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.go b/handle.go
index 631ec9c..bab3c70 100644
--- a/handle.go
+++ b/handle.go
@@ -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)