Dockerize #1

Open
christoffer wants to merge 13 commits from christoffer/takunomi-blog:master into master
2 changed files with 1 additions and 0 deletions
Showing only changes of commit 875a3427dc - Show all commits

View File

@ -71,6 +71,7 @@ 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"))))
} }