diff --git a/api/api.go b/api/api.go index fb10eab6..d8a53b12 100644 --- a/api/api.go +++ b/api/api.go @@ -154,6 +154,8 @@ func (a *API) robeaux(res http.ResponseWriter, req *http.Request) { res.Header().Set("Content-Type", "text/javascript; charset=utf-8") } else if t[len(t)-1] == "css" { res.Header().Set("Content-Type", "text/css; charset=utf-8") + } else if t[len(t)-1] == "html" { + res.Header().Set("Content-Type", "text/html; charset=utf-8") } res.Write(buf) } diff --git a/version.go b/version.go index 4299e8e0..3b605f9a 100644 --- a/version.go +++ b/version.go @@ -1,6 +1,6 @@ package gobot -const version = "0.11.0" +const version = "0.11.1" // Version returns the current Gobot version func Version() string {