diff --git a/main.go b/main.go index a47754f..99db0a5 100644 --- a/main.go +++ b/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") }) diff --git a/templates/partials.html b/templates/partials.html index 2422213..c6dbbf2 100644 --- a/templates/partials.html +++ b/templates/partials.html @@ -9,7 +9,7 @@ hosted twtxt server - +