about summary refs log tree commit diff stats
path: root/internal/server/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/server/error.go')
-rw-r--r--internal/server/error.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/server/error.go b/internal/server/error.go
index 1e04bbc..c2acf48 100644
--- a/internal/server/error.go
+++ b/internal/server/error.go
@@ -3,6 +3,7 @@ package server
 import (
 	"net/http"
 
+	"go.alanpearce.eu/searchix/frontend"
 	"go.alanpearce.eu/searchix/internal/components"
 	"go.alanpearce.eu/searchix/internal/config"
 	"go.alanpearce.eu/x/log"
@@ -22,6 +23,7 @@ func createErrorHandler(
 			Sources:       sources,
 			Code:          code,
 			Message:       message,
+			Assets:        frontend.Assets,
 		}
 		w.Header().Set("Cache-Control", "no-store")
 		w.Header().Del("Vary")