microblog.go aktualisiert
This commit is contained in:
+2
-1
@@ -36,7 +36,8 @@ func main() {
|
|||||||
case ".gif":
|
case ".gif":
|
||||||
w.Header().Set("Content-Type", "image/gif")
|
w.Header().Set("Content-Type", "image/gif")
|
||||||
default:
|
default:
|
||||||
handlePage
|
handlePage(w,r)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
http.ServeFile(w, r, "."+path)
|
http.ServeFile(w, r, "."+path)
|
||||||
|
|||||||
Reference in New Issue
Block a user