forked from ohayo-jacob/takunomi-blog
Compare commits
No commits in common. "875a3427dc39566f63219b3e13518db27f8348e2" and "1ff01fda64dafd8fe75fa94fc83661bb165a6907" have entirely different histories.
875a3427dc
...
1ff01fda64
Binary file not shown.
1
main.go
1
main.go
|
@ -71,7 +71,6 @@ func buildHandlers() {
|
||||||
http.HandleFunc("/post/", postHandler)
|
http.HandleFunc("/post/", postHandler)
|
||||||
http.HandleFunc("/update", updateHandler)
|
http.HandleFunc("/update", updateHandler)
|
||||||
http.HandleFunc("/", pastHandler)
|
http.HandleFunc("/", pastHandler)
|
||||||
http.Handle("/documents/", http.StripPrefix("/documents/", http.FileServer(http.Dir("documents"))))
|
|
||||||
http.Handle("/images/", http.StripPrefix("/images/", http.FileServer(http.Dir("images"))))
|
http.Handle("/images/", http.StripPrefix("/images/", http.FileServer(http.Dir("images"))))
|
||||||
http.Handle("/css/", http.StripPrefix("/css/", http.FileServer(http.Dir("css"))))
|
http.Handle("/css/", http.StripPrefix("/css/", http.FileServer(http.Dir("css"))))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user