Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(icons): change the address of font files #505

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from
Open

fix(icons): change the address of font files #505

wants to merge 1 commit into from

Conversation

ericworks
Copy link

@ericworks ericworks commented Sep 2, 2017

What kind of change does this PR introduce? (check one with "x")

  • Bug fix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

Description

Bug Description :
request the wrong address like abc.com/yy/mm/dd/font/fontawesome-.eot.
fail to load font resource with 404 under the scheme of 'isolation'.
occur when browsing an address like abc.com/yy/mm/dd/name/
but abc.com/ can still work with loading abc.com/font/awesome-
.eot.
Solution :
change the directory of '../font/fontawesome-.eot' into '/font/fontawesome-.eot' .


Verification steps

visit abc.com/yy/mm/dd/title with scheme of 'isolation' and inspect the sidebar icons of google+, facebook, twitter etc.
change the directory of fontawesome and visit it again.

fail to load font resource with 404
occur on browsing a address like abc.com/yy/mm/dd/name.html
change the directory of fontawesome-*.eot
@ericworks ericworks changed the title fix(icons) fix(icons): change the address of font files Sep 2, 2017
@cubesky cubesky requested a review from neoFelhz February 13, 2018 09:06
@neoFelhz
Copy link
Collaborator

neoFelhz commented May 1, 2018

@cubesky I think we need to import font-awesome using relative url.

@cubesky
Copy link
Collaborator

cubesky commented Aug 13, 2018

@neoFelhz I think we use CDN instead better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants