Skip to content

Commit d10f6b0

Browse files
committed
refactor: add debug log
1 parent 2b31a80 commit d10f6b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ func main() {
9292
log.Fatal(err)
9393
}
9494

95-
log.Printf("Starting SEV-SNP attestation shim %s domain %s", version, domain)
95+
paths := strings.Split(*allowedPaths, ",")
96+
log.Printf("Starting SEV-SNP attestation shim %s domain %s paths %s", version, domain, paths)
9697

9798
mux := http.NewServeMux()
9899

@@ -128,7 +129,6 @@ func main() {
128129
mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
129130
cors(w, r)
130131

131-
paths := strings.Split(*allowedPaths, ",")
132132
if len(paths) > 0 {
133133
allowed := false
134134
for _, path := range paths {

0 commit comments

Comments
 (0)