You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Unicef logo in footer are breaking in some server because slashes in url:
/sitestatic//img/UNICEF_footer_Logo_black_en.png <- Broken /sitestatic/img/UNICEF_footer_Logo_black_en.png <- Working
HAML:
%img.-ml-2(src="{{STATIC_URL}} / img/UNICEF_footer_Logo_black_en.png" class="md:-ml-0")
but {{STATIC_URL}} already have a slash, resulting in /sitestatic//img/UNICEF_footer
The Nyaruka code:
in other cases we can see this pattern: %img(src="{{STATIC_URL}}img/u-report-global-logo-white.png"), which works fine.
Resume
The Unicef logo in footer are breaking in some server because slashes in url:
/sitestatic//img/UNICEF_footer_Logo_black_en.png
<- Broken/sitestatic/img/UNICEF_footer_Logo_black_en.png
<- WorkingHAML:
%img.-ml-2(src="{{STATIC_URL}} / img/UNICEF_footer_Logo_black_en.png" class="md:-ml-0")
but {{STATIC_URL}} already have a slash, resulting in
/sitestatic//img/UNICEF_footer
The Nyaruka code:
in other cases we can see this pattern:
%img(src="{{STATIC_URL}}img/u-report-global-logo-white.png")
, which works fine.Reference
The text was updated successfully, but these errors were encountered: