diff --git a/web/handler_test.go b/web/handler_test.go index 064e70a..53d8fad 100644 --- a/web/handler_test.go +++ b/web/handler_test.go @@ -12,6 +12,8 @@ func TestViewerPageGET(t *testing.T) { t.Errorf("Failed to load templates: %v", err) } + cfg = &Options{} + // Test GET request r, _ := http.NewRequest("GET", "/", nil) w := httptest.NewRecorder()