all repos — homestead @ b9efca3f3332bbb0ef0bafbafe5ac58561893507

Code for my website

remove CSP header/custom style hashes

Alan Pearce
commit

b9efca3f3332bbb0ef0bafbafe5ac58561893507

parent

ba841774eb770dab4314da515cc462e9c7706eef

1 file changed, 3 insertions(+), 7 deletions(-)

changed files
M shared/storage/sqlite/db/query.sql.goshared/storage/sqlite/db/query.sql.go
@@ -27,7 +27,7 @@ }
const getFile = `-- name: GetFile :many SELECT - file.file_id, file.url_id, file.content_type, file.last_modified, file.title, file.etag, file.style_hash, file.headers, + file.file_id, file.url_id, file.content_type, file.last_modified, file.title, file.etag, file.headers, content.content_id, content.file_id, content.encoding, content.body FROM url INNER JOIN file
@@ -59,7 +59,6 @@ &i.File.ContentType,
&i.File.LastModified, &i.File.Title, &i.File.Etag, - &i.File.StyleHash, &i.File.Headers, &i.Content.ContentID, &i.Content.FileID,
@@ -97,7 +96,7 @@ }
const insertFile = `-- name: InsertFile :execlastid INSERT INTO file ( - url_id, content_type, last_modified, etag, style_hash, title, headers + url_id, content_type, last_modified, etag, title, headers ) VALUES ( ?1,
@@ -105,8 +104,7 @@ ?2,
?3, ?4, ?5, - ?6, - ?7 + ?6 ) `
@@ -115,7 +113,6 @@ UrlID int64
ContentType string LastModified int64 Etag string - StyleHash string Title string Headers []byte }
@@ -126,7 +123,6 @@ arg.UrlID,
arg.ContentType, arg.LastModified, arg.Etag, - arg.StyleHash, arg.Title, arg.Headers, )