mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-30 00:00:43 -04:00
Formatting
This commit is contained in:
+2
-1
@@ -73,7 +73,8 @@ macro get_username(env)
|
|||||||
end
|
end
|
||||||
|
|
||||||
macro cors
|
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," \
|
env.response.headers["Access-Control-Allow-Headers"] = "X-Requested-With," \
|
||||||
"X-HTTP-Method-Override, Content-Type, Cache-Control, Accept," \
|
"X-HTTP-Method-Override, Content-Type, Cache-Control, Accept," \
|
||||||
"Authorization"
|
"Authorization"
|
||||||
|
|||||||
Reference in New Issue
Block a user