Commit 4df6271b authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Add CORS AllowedMethods

parent cb0db13b
......@@ -56,6 +56,7 @@ func Handler(config *Configuration) (http.Handler, error) {
AllowedOrigins: []string{"*"},
AllowedHeaders: []string{"Accept", "Authorization", "Content-Type"},
AllowedMethods: []string{http.MethodGet, http.MethodPost, http.MethodDelete},
// Mount server for irmaclient
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment