Disable CSP headers for the time being
This commit is contained in:
parent
c3725bb504
commit
c6c1cf7e5d
|
@ -17,7 +17,7 @@ import (
|
|||
|
||||
const (
|
||||
AllowedCharacters string = `^[A-z0-9.\-_]+$`
|
||||
ReleaseVersion string = "8.7.0"
|
||||
ReleaseVersion string = "8.7.1"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue