diff --git a/services-src/auth/main.go b/services-src/auth/main.go index 6957a89..ebad170 100644 --- a/services-src/auth/main.go +++ b/services-src/auth/main.go @@ -355,7 +355,7 @@ func Main(information library.ServiceInitializationInformation) *chi.Mux { } router.Use(disableCors) - router.Options("*", func(w http.ResponseWriter, r *http.Request) { + router.Options("/*", func(w http.ResponseWriter, r *http.Request) { w.Header().Set("Access-Control-Allow-Origin", "*") w.Header().Set("Access-Control-Allow-Headers", "*") w.Header().Set("Access-Control-Allow-Methods", "*")