This repository was archived by the owner on Mar 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
This repository was archived by the owner on Mar 22, 2022. It is now read-only.
Font source target is invalid #23
Copy link
Copy link
Closed
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps updif/easySomeone with a little familiarity can pick upSomeone with a little familiarity can pick upeffort/hoursEstimated to take one or several hoursEstimated to take one or several hoursgood first issueGood issue for new contributorsGood issue for new contributorshelp wantedSeeking public contribution on this issueSeeking public contribution on this issuekind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)status/readyReady to be workedReady to be workedtopic/design-front-endFront-end implementation of UX/UI workFront-end implementation of UX/UI work
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps updif/easySomeone with a little familiarity can pick upSomeone with a little familiarity can pick upeffort/hoursEstimated to take one or several hoursEstimated to take one or several hoursgood first issueGood issue for new contributorsGood issue for new contributorshelp wantedSeeking public contribution on this issueSeeking public contribution on this issuekind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)status/readyReady to be workedReady to be workedtopic/design-front-endFront-end implementation of UX/UI workFront-end implementation of UX/UI work