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

Can't find fonts when serving from a non-root path #126

Open
xgp opened this issue Jan 19, 2022 · 0 comments
Open

Can't find fonts when serving from a non-root path #126

xgp opened this issue Jan 19, 2022 · 0 comments

Comments

@xgp
Copy link

xgp commented Jan 19, 2022

Use case is to take the files generated in dist/ and put them on a webserver in a non-root path.

The error I encounter when doing this is that the patternfly fonts, specified in the main.css use a url(/fonts/...) path, which forces the browser to look at the root, rather than relative to the base path.

Screen Shot 2022-01-19 at 8 50 45 PM

Is there anyway to update webpack to change this?

@nicolethoen nicolethoen modified the milestones: 2022.12, 2022.15 Sep 2, 2022
@nicolethoen nicolethoen moved this to Not started in PatternFly Issues Sep 13, 2022
@mcarrano mcarrano removed this from the 2022.15 milestone Nov 11, 2022
@dlabaj dlabaj moved this from Not started to Backlog in PatternFly Issues Apr 19, 2024
@dlabaj dlabaj added this to the Prioritized Backlog milestone Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

4 participants