Bump Go version to 1.22; remove openbsd/mips builds
This commit is contained in:
parent
068850b27f
commit
4e410d4db2
1
build.sh
1
build.sh
|
@ -35,7 +35,6 @@ platforms=(
|
||||||
"openbsd/amd64"
|
"openbsd/amd64"
|
||||||
"openbsd/arm"
|
"openbsd/arm"
|
||||||
"openbsd/arm64"
|
"openbsd/arm64"
|
||||||
"openbsd/mips64"
|
|
||||||
"wasip1/wasm"
|
"wasip1/wasm"
|
||||||
"windows/386"
|
"windows/386"
|
||||||
"windows/amd64"
|
"windows/amd64"
|
||||||
|
|
|
@ -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))
|
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)))
|
io.WriteString(w, gohtml.Format(newPage("Server Error", "An error has occurred. Please try again.", nonce)))
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func serverErrorHandler() func(http.ResponseWriter, *http.Request, interface{}) {
|
func serverErrorHandler() func(http.ResponseWriter, *http.Request, interface{}) {
|
||||||
|
|
Loading…
Reference in New Issue