all repos — homestead @ 05be0fdbdfbbc455317c909f5f8fa4f441235a74

Code for my website

enable custom headers for feeds (allow fetch from remote sites)

Alan Pearce
commit

05be0fdbdfbbc455317c909f5f8fa4f441235a74

parent

52549c0ea610306039e1f3f91c89e05ba4f41e72

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

changed files
M query.sqlquery.sql
@@ -2,14 +2,15 @@ -- name: InsertURL :execlastid
INSERT INTO url (path) VALUES (?); -- name: InsertFile :execlastid -INSERT INTO file (url_id, content_type, last_modified, etag, style_hash, title) +INSERT INTO file (url_id, content_type, last_modified, etag, style_hash, title, headers) VALUES ( @url_id, @content_type, @last_modified, @etag, @style_hash, - @title + @title, + @headers ); -- name: InsertContent :exec