Remove test statement accidentally left in (oops)
This commit is contained in:
parent
1ed9df3932
commit
e67384caeb
|
@ -7,7 +7,6 @@ package cmd
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"embed"
|
"embed"
|
||||||
"errors"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -30,8 +29,6 @@ const (
|
||||||
|
|
||||||
func serveFavicons(errorChannel chan<- error) httprouter.Handle {
|
func serveFavicons(errorChannel chan<- error) httprouter.Handle {
|
||||||
return func(w http.ResponseWriter, r *http.Request, p httprouter.Params) {
|
return func(w http.ResponseWriter, r *http.Request, p httprouter.Params) {
|
||||||
errorChannel <- errors.New("test")
|
|
||||||
|
|
||||||
fname := strings.TrimPrefix(r.URL.Path, "/")
|
fname := strings.TrimPrefix(r.URL.Path, "/")
|
||||||
|
|
||||||
data, err := favicons.ReadFile(fname)
|
data, err := favicons.ReadFile(fname)
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ReleaseVersion string = "0.89.0"
|
ReleaseVersion string = "0.89.1"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
Loading…
Reference in New Issue