Update to 0.11.1
This commit is contained in:
commit
676c963f14
|
@ -154,6 +154,8 @@ func (a *API) robeaux(res http.ResponseWriter, req *http.Request) {
|
||||||
res.Header().Set("Content-Type", "text/javascript; charset=utf-8")
|
res.Header().Set("Content-Type", "text/javascript; charset=utf-8")
|
||||||
} else if t[len(t)-1] == "css" {
|
} else if t[len(t)-1] == "css" {
|
||||||
res.Header().Set("Content-Type", "text/css; charset=utf-8")
|
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)
|
res.Write(buf)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package gobot
|
package gobot
|
||||||
|
|
||||||
const version = "0.11.0"
|
const version = "0.11.1"
|
||||||
|
|
||||||
// Version returns the current Gobot version
|
// Version returns the current Gobot version
|
||||||
func Version() string {
|
func Version() string {
|
||||||
|
|
Loading…
Reference in New Issue