Fix css file paths.

このコミットが含まれているのは:
Christian Heller 2016-02-10 23:19:35 +01:00
コミット 89c5ac4f0b
2個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -291,7 +291,7 @@ func main() {
router.HandleFunc("/feeds", twtxtPostHandler).Methods("POST")
router.HandleFunc("/feeds/{name}", twtxtHandler)
router.HandleFunc("/feeds/{name}", twtxtHandler)
router.HandleFunc("/css/style.css",
router.HandleFunc("/style.css",
func(w http.ResponseWriter, r *http.Request) {
http.ServeFile(w, r, *templDirPtr+"/css/style.css")
})

ファイルの表示

@ -9,7 +9,7 @@
<title>hosted twtxt server</title>
<link rel="stylesheet" type="text/css" href="css/style.css" media="all" />
<link rel="stylesheet" type="text/css" href="/style.css" media="all" />
</head>