all repos — homestead @ f7d8beffaa09ecf863996d29c72f508eb3952c84

Code for my website

use files instead of buffers for serving

Alan Pearce
commit

f7d8beffaa09ecf863996d29c72f508eb3952c84

parent

40f8ccfdf0c8a5855cdc211096f86459b28a261b

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

changed files
M domain/content/builder/builder.godomain/content/builder/builder.go
@@ -158,7 +158,6 @@ }
file := &storage.File{ Title: title, LastModified: matchingPosts[0].Date, - ContentType: "application/xml", Path: path.Join("/tags", tag, "atom.xml"), FSPath: path.Join("/tags", tag, "atom.xml"), }
@@ -191,7 +190,6 @@ }
file := &storage.File{ Title: config.Title, LastModified: cc.Posts[0].Date, - ContentType: "application/xml", Path: "/atom.xml", FSPath: "/atom.xml", }
@@ -237,7 +235,6 @@ return fault.Wrap(err)
} } file := stor.NewFileFromPost(post) - file.ContentType = "text/html; charset=utf-8" if err := stor.WriteFile(file, buf); err != nil { return fault.Wrap(err) }