mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #11844 from filipefurtad0/fix_blacklist_whitelist_deprecation_warning
[System specs, CI] Fixes blacklist/whitelist deprecation warning
This commit is contained in:
@@ -15,7 +15,7 @@ Capybara.register_driver(:cuprite_ofn) do |app|
|
||||
process_timeout: 60,
|
||||
timeout: 60,
|
||||
# Don't load scripts from external sources, like google maps or stripe
|
||||
url_whitelist: ["http://localhost", "http://0.0.0.0", "http://127.0.0.1"],
|
||||
url_whitelist: [%r{http://localhost}i, %r{http://0.0.0.0}i, %r{http://127.0.0.1}],
|
||||
inspector: true,
|
||||
headless:,
|
||||
js_errors: true
|
||||
|
||||
Reference in New Issue
Block a user