about summary refs log tree commit diff stats
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-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 55e68d2..7c69af0 100644
--- a/internal/builder/builder.go
+++ b/internal/builder/builder.go
@@ -172,7 +172,7 @@ func build(outDir string, config config.Config) error {
 	if err != nil {
 		return errors.WithMessage(err, "could not render 404 page")
 	}
-	if err := outputToFile(notFound, privateDir, "404.html"); err != nil {
+	if err := outputToFile(notFound, publicDir, "404.html"); err != nil {
 		return err
 	}