mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Add a map
So you can check you’ve chosen the right areas, and to give you a clear idea of where the boundaries of an area are. The Javascript and CSS for the map is only loaded on this page because it adds quite a few kb, and we don’t want to be sending assets to the majority of our users who will never see them.
This commit is contained in:
@@ -20,7 +20,8 @@ def test_owasp_useful_headers_set(
|
||||
"object-src 'self';"
|
||||
"font-src 'self' static.example.com data:;"
|
||||
"img-src "
|
||||
"'self' static.example.com *.google-analytics.com *.notifications.service.gov.uk static-logos.test.com data:;"
|
||||
"'self' static.example.com *.tile.openstreetmap.org *.google-analytics.com"
|
||||
" *.notifications.service.gov.uk static-logos.test.com data:;"
|
||||
"frame-src 'self' www.youtube-nocookie.com;"
|
||||
)
|
||||
|
||||
@@ -41,7 +42,8 @@ def test_headers_non_ascii_characters_are_replaced(
|
||||
"connect-src 'self' *.google-analytics.com;"
|
||||
"object-src 'self';"
|
||||
"font-src 'self' static.example.com data:;"
|
||||
"img-src "
|
||||
"'self' static.example.com *.google-analytics.com *.notifications.service.gov.uk static-logos??.test.com data:;"
|
||||
"img-src"
|
||||
" 'self' static.example.com *.tile.openstreetmap.org *.google-analytics.com"
|
||||
" *.notifications.service.gov.uk static-logos??.test.com data:;"
|
||||
"frame-src 'self' www.youtube-nocookie.com;"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user