diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-03-11 09:48:20 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-03-11 13:10:47 +0100 |
commit | 64b7b7a89753a39661219b2fcb92d7f185a03f63 (patch) | |
tree | fc0a936c03faffd4acfd28b4997f499e4109dcfb /hugofs | |
parent | 5ef8a9f32c25a9b4cc821393c58733e57a7ad234 (diff) | |
download | hugo-64b7b7a89753a39661219b2fcb92d7f185a03f63.tar.gz hugo-64b7b7a89753a39661219b2fcb92d7f185a03f63.zip |
Revert "Allow rendering static files to disk and dynamic to memory in server mode"
This reverts commit 7d8011ed63d587b87a7c182748914fe146590093.
Updates #9647
Diffstat (limited to 'hugofs')
-rw-r--r-- | hugofs/fs.go | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/hugofs/fs.go b/hugofs/fs.go index 95645204e..54d962553 100644 --- a/hugofs/fs.go +++ b/hugofs/fs.go @@ -35,9 +35,6 @@ type Fs struct { // Destination is Hugo's destination file system. Destination afero.Fs - // Destination used for `renderStaticToDisk` - DestinationStatic afero.Fs - // Os is an OS file system. // NOTE: Field is currently unused. Os afero.Fs @@ -72,11 +69,10 @@ func NewFrom(fs afero.Fs, cfg config.Provider) *Fs { func newFs(base afero.Fs, cfg config.Provider) *Fs { return &Fs{ - Source: base, - Destination: base, - DestinationStatic: base, - Os: &afero.OsFs{}, - WorkingDir: getWorkingDirFs(base, cfg), + Source: base, + Destination: base, + Os: &afero.OsFs{}, + WorkingDir: getWorkingDirFs(base, cfg), } } |