diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-03-11 09:48:20 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-03-11 13:10:47 +0100 |
commit | 64b7b7a89753a39661219b2fcb92d7f185a03f63 (patch) | |
tree | fc0a936c03faffd4acfd28b4997f499e4109dcfb /commands/hugo.go | |
parent | 5ef8a9f32c25a9b4cc821393c58733e57a7ad234 (diff) |
Revert "Allow rendering static files to disk and dynamic to memory in server mode"
This reverts commit 7d8011ed63d587b87a7c182748914fe146590093.
Updates #9647
Diffstat (limited to 'commands/hugo.go')
-rw-r--r-- | commands/hugo.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/commands/hugo.go b/commands/hugo.go index 21140fa43..8c5294f00 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -652,9 +652,6 @@ func (c *commandeer) copyStaticTo(sourceFs *filesystems.SourceFilesystem) (uint6 syncer.ChmodFilter = chmodFilter syncer.SrcFs = fs syncer.DestFs = c.Fs.Destination - if c.renderStaticToDisk { - syncer.DestFs = c.Fs.DestinationStatic - } // Now that we are using a unionFs for the static directories // We can effectively clean the publishDir on initial sync syncer.Delete = c.Cfg.GetBool("cleanDestinationDir") |