diff --git a/cmd/root.go b/cmd/root.go index 999d5dd..f0df469 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -17,7 +17,7 @@ import ( const ( AllowedCharacters string = `^[A-z0-9.\-_]+$` - ReleaseVersion string = "8.7.0" + ReleaseVersion string = "8.7.1" ) var ( diff --git a/cmd/web.go b/cmd/web.go index 5846a58..7b1245d 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -312,7 +312,11 @@ func serveMedia(paths []string, index *fileIndex, filename *regexp.Regexp, forma return } - nonce := format.CSP(w) + // Temporarily disabled until I figure out how to make things + // work properly with inline event handlers. + // nonce := format.CSP(w) + nonce := "" + mediaType := format.MediaType(filepath.Ext(path))