about summary refs log tree commit diff stats
path: root/internal/builder/builder.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/builder/builder.go')
-rw-r--r--internal/builder/builder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/builder/builder.go b/internal/builder/builder.go
index f3e61dc..20714b9 100644
--- a/internal/builder/builder.go
+++ b/internal/builder/builder.go
@@ -226,7 +226,7 @@ func build(outDir string, config config.Config) (*Result, error) {
 	r.Hashes = append(r.Hashes, h)
 
 	log.Debug("rendering 404 page")
-	if err := renderToFile(notFound(config, "/404.html"), publicDir, "404.html"); err != nil {
+	if err := renderToFile(notFound(config, "/404.html"), privateDir, "404.html"); err != nil {
 		return nil, err
 	}