enable custom headers for feeds (allow fetch from remote sites)
1 file changed, 3 insertions(+), 2 deletions(-)
changed files
M query.sql → query.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