Fix long line

This commit is contained in:
Alex Ling 2022-03-20 10:01:44 +00:00
parent 2091053221
commit c3736d222c
1 changed files with 3 additions and 1 deletions

View File

@ -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