testing new env and config

This commit is contained in:
2026-05-07 14:33:45 -06:00
parent 8531555609
commit e763b6218a
2 changed files with 102 additions and 59 deletions
+2 -2
View File
@@ -41,8 +41,8 @@ func newTestServer(t *testing.T, mirrorHandler http.HandlerFunc) (*httptest.Serv
t.Fatalf("failed to create cache: %v", err)
}
cfg := &Config{
Port: "0",
Auth: AuthConfig{Token: "testtoken"},
Port: "0",
Token: "testtoken",
}
logLevel := new(slog.LevelVar)
srv := &Server{