aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index da578e4..6e9c95b 100644
--- a/main.go
+++ b/main.go
@@ -37,8 +37,11 @@ func main() {
fs := http.FileServer(http.Dir("./static"))
mux.Handle("/static/", http.StripPrefix("/static/", fs))
+ mux.HandleFunc("/projects", app.post)
mux.HandleFunc("/projects/", app.post)
+ mux.HandleFunc("/blog", app.post)
mux.HandleFunc("/blog/", app.post)
+ mux.HandleFunc("/about", app.about)
mux.HandleFunc("/about/", app.about)
mux.HandleFunc("/", app.home)