mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
Send asset path to Header component
The SVG fallback image for the GOV.UK logo starts its path as '/assets/images' by default unless you send in an alternative root. This sends in our static asset host root to stop the image 404'ing on browsers that load it.
This commit is contained in:
@@ -125,7 +125,8 @@
|
||||
"homepageUrl": url_for('main.show_accounts_or_dashboard'),
|
||||
"productName": "Notify",
|
||||
"navigation": navigation,
|
||||
"navigationClasses": "govuk-header__navigation--end"
|
||||
"navigationClasses": "govuk-header__navigation--end",
|
||||
"assetsPath": asset_path + "images"
|
||||
}) }}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user