all repos — homestead @ f7d8beffaa09ecf863996d29c72f508eb3952c84

Code for my website

use files instead of buffers for serving

Alan Pearce
commit

f7d8beffaa09ecf863996d29c72f508eb3952c84

parent

40f8ccfdf0c8a5855cdc211096f86459b28a261b

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M shared/storage/files/writer.goshared/storage/files/writer.go
@@ -93,7 +93,7 @@ func (f *Files) NewFileFromPost(post *content.Post) *storage.File {
return &storage.File{ Path: post.URL, FSPath: pathNameToFileName(post.URL), - Encodings: map[string]*buffer.Buffer{}, + Encodings: map[string]*os.File{}, } }