diff --git a/build.sh b/build.sh index 7964014..a81af82 100755 --- a/build.sh +++ b/build.sh @@ -35,7 +35,6 @@ platforms=( "openbsd/amd64" "openbsd/arm" "openbsd/arm64" - "openbsd/mips64" "wasip1/wasm" "windows/386" "windows/amd64" diff --git a/cmd/errors.go b/cmd/errors.go index acebfc5..bde21d5 100644 --- a/cmd/errors.go +++ b/cmd/errors.go @@ -65,7 +65,6 @@ func serverError(w http.ResponseWriter, r *http.Request, i interface{}) { w.Header().Add("Content-Security-Policy", fmt.Sprintf("default-src 'self' 'nonce-%s';", nonce)) io.WriteString(w, gohtml.Format(newPage("Server Error", "An error has occurred. Please try again.", nonce))) - } func serverErrorHandler() func(http.ResponseWriter, *http.Request, interface{}) { diff --git a/go.mod b/go.mod index fccbf73..e2c7fc0 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module seedno.de/seednode/roulette -go 1.21 +go 1.22 require ( github.com/alecthomas/chroma/v2 v2.12.0