allow HEAD requests
This commit is contained in:
parent
72dae6867c
commit
016d929bc0
|
@ -14,7 +14,7 @@ class Travis::Api::App
|
|||
end
|
||||
|
||||
options // do
|
||||
headers['Access-Control-Allow-Methods'] = "GET, POST, PATCH, PUT, DELETE"
|
||||
headers['Access-Control-Allow-Methods'] = "HEAD, GET, POST, PATCH, PUT, DELETE"
|
||||
headers['Access-Control-Allow-Headers'] = "Content-Type, Authorization, Accept"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user