fixed CSP issue
This commit is contained in:
parent
196b6959da
commit
621cc2a83e
7 changed files with 11 additions and 6 deletions
|
|
@ -170,6 +170,7 @@ func rawHandler(ctx *Context) {
|
|||
}
|
||||
return
|
||||
}
|
||||
ctx.Response.Header().Del("Content-Security-Policy")
|
||||
http.ServeContent(ctx.Response, ctx.Request, fi.Name(), fi.ModTime(), f)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue