mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 03:15:31 -04:00
Fix long line
This commit is contained in:
parent
2091053221
commit
c3736d222c
@ -60,7 +60,9 @@ end
|
|||||||
|
|
||||||
macro cors
|
macro cors
|
||||||
env.response.headers["Allow"] = "HEAD,GET,PUT,POST,DELETE,OPTIONS"
|
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"] = "*"
|
env.response.headers["Access-Control-Allow-Origin"] = "*"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user