Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
host_authorization
setting for dev environment
Sinatra 4.1 ships with a breaking change that [enables host allowlisting middleware][1] in local development, which in turn breaks running Search API through GOV.UK Docker. This adds an explicit `permitted_hosts` setting for the middleware, which includes the `search-api.dev.gov.uk` host used by GOV.UK Docker. [1]: sinatra/sinatra#2053
- Loading branch information