add an all-in-one script for running tests; format and fix some code; add ci.yml
This commit is contained in:
@@ -3,7 +3,7 @@ Rails.application.config.middleware.insert_before 0, Rack::Cors do
|
||||
origins ENV.fetch("CORS_ORIGINS", "*").split(",")
|
||||
resource "*",
|
||||
headers: :any,
|
||||
methods: [:get, :post, :put, :patch, :delete, :options, :head],
|
||||
expose: ["Authorization"]
|
||||
methods: [ :get, :post, :put, :patch, :delete, :options, :head ],
|
||||
expose: [ "Authorization" ]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user