move 404.html back to private directory
Alan Pearce alan@alanpearce.eu
Mon, 24 Jun 2024 21:28:43 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M internal/builder/builder.go → internal/builder/builder.go
@@ -226,7 +226,7 @@ h, _ = getHTMLStyleHash(publicDir, "index.html") 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 }