perf(blossom): set Access-Control-Max-Age to 24 h

This commit is contained in:
Anthony Accioly
2024-11-05 16:56:59 +00:00
parent ad6635d86c
commit 2a80d4099d

View File

@@ -45,6 +45,7 @@ func New(rl *khatru.Relay, serviceURL string) *BlossomServer {
AllowedOrigins: []string{"*"},
AllowedMethods: []string{"GET", "PUT", "DELETE"},
AllowedHeaders: []string{"Authorization", "*"},
MaxAge: 86400,
})
wrappedBlossomApi := bud01CorsMux.Handler(blossomApi)