summaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index 5591db264..72220aa3c 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -2876,7 +2876,7 @@ rspamd_controller_handle_unknown (struct rspamd_http_connection_entry *conn_ent,
rspamd_http_message_add_header (rep, "Access-Control-Allow-Methods",
"POST, GET, OPTIONS");
rspamd_http_message_add_header (rep, "Access-Control-Allow-Headers",
- "Content-Type, Password, Map");
+ "Content-Type,Password,Map,Weight,Flag");
rspamd_http_connection_reset (conn_ent->conn);
rspamd_http_router_insert_headers (conn_ent->rt, rep);
rspamd_http_connection_write_message (conn_ent->conn,