Fix css file paths.
このコミットが含まれているのは:
コミット
89c5ac4f0b
2
main.go
2
main.go
|
@ -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>
|
||||
|
||||
|
|
読み込み中…
新しいイシューから参照