add an all-in-one script for running tests; format and fix some code; add ci.yml
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"ignored_warnings": [
|
||||
{
|
||||
"fingerprint": "b2ef9ca037e09c20a8a7b7aec14bd62b16fb830e3723adf3b6936529ed347bde",
|
||||
"note": "Ruby2Shell (CVE-2026-132825): .ruby-version pins 4.0.0, which is in the vulnerable 4.0.0..4.0.9 range. Ruby 4.0.10 is the fixed release but is not yet installable here (ruby-build defs / image tags lag); remove this entry as soon as .ruby-version is bumped to >= 4.0.10."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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