From c778364ca253d5601c64449617ea411510dbb960 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Tue, 22 Mar 2022 11:42:16 +0000 Subject: [PATCH] Formatting --- src/util/web.cr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/web.cr b/src/util/web.cr index 1e6a0c7..366af04 100644 --- a/src/util/web.cr +++ b/src/util/web.cr @@ -73,7 +73,8 @@ macro get_username(env) end macro cors - env.response.headers["Access-Control-Allow-Methods"] = "HEAD,GET,PUT,POST,DELETE,OPTIONS" + env.response.headers["Access-Control-Allow-Methods"] = "HEAD,GET,PUT,POST," \ + "DELETE,OPTIONS" env.response.headers["Access-Control-Allow-Headers"] = "X-Requested-With," \ "X-HTTP-Method-Override, Content-Type, Cache-Control, Accept," \ "Authorization"