Remove test statement accidentally left in (oops)

This commit is contained in:
Seednode 2023-09-15 14:37:35 -05:00
parent 1ed9df3932
commit e67384caeb
2 changed files with 1 additions and 4 deletions

View File

@ -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)

View File

@ -11,7 +11,7 @@ import (
) )
const ( const (
ReleaseVersion string = "0.89.0" ReleaseVersion string = "0.89.1"
) )
var ( var (