diff --git a/microblog.go b/microblog.go index fa33a91..d74f47b 100644 --- a/microblog.go +++ b/microblog.go @@ -36,7 +36,8 @@ func main() { case ".gif": w.Header().Set("Content-Type", "image/gif") default: - handlePage + handlePage(w,r) + return } http.ServeFile(w, r, "."+path)