This repository has been archived by the owner on Mar 22, 2022. It is now read-only.
Font source target is invalid #23
Labels
dif/easy
Someone with a little familiarity can pick up
effort/hours
Estimated to take one or several hours
good first issue
Good issue for new contributors
help wanted
Seeking public contribution on this issue
kind/bug
A bug in existing code (including security flaws)
P2
Medium: Good to have, but can wait until someone steps up
status/ready
Ready to be worked
topic/design-front-end
Front-end implementation of UX/UI work
The embedded style references a handful of fonts via a relative and nonexistant path
../fonts/
For instance
font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);
This specifically causes issues when doing something like
wget -r http://gateway/ipfs/Qm...
presenting a bunch of 404's up front.I'm not familiar enough with CSS to know, but is there any analog to the HTML
<base>
tag?Specifically, I'm wondering if there's a way to hash these fonts and make the source target relative to the gateway root.
i.e.
src:url(${gatewayroot}/ipfs/Qm.../font.eot)
If not, I suppose it would be best to just remove them.
The text was updated successfully, but these errors were encountered: