Formatting

This commit is contained in:
Alex Ling 2022-03-22 11:42:16 +00:00
parent 7ecdb1c0dd
commit c778364ca2
1 changed files with 2 additions and 1 deletions

View File

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