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:
Tom Byers
2020-01-06 10:55:47 +00:00
parent d22bf29529
commit b822914e23

View File

@@ -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 %}