From c3736d222c9976d7988888bbbf4e90f4c8af1752 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Sun, 20 Mar 2022 10:01:44 +0000 Subject: [PATCH] Fix long line --- src/util/web.cr | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util/web.cr b/src/util/web.cr index e74d4f9..3662edb 100644 --- a/src/util/web.cr +++ b/src/util/web.cr @@ -60,7 +60,9 @@ end macro cors env.response.headers["Allow"] = "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" + env.response.headers["Access-Control-Allow-Headers"] = "X-Requested-With," \ + "X-HTTP-Method-Override, Content-Type, Cache-Control, Accept," \ + "Authorization" env.response.headers["Access-Control-Allow-Origin"] = "*" end