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

Failing builds due to API_URL not reachable #22

Closed
knusperkrone opened this issue Sep 7, 2022 · 3 comments
Closed

Failing builds due to API_URL not reachable #22

knusperkrone opened this issue Sep 7, 2022 · 3 comments

Comments

@knusperkrone
Copy link

The webpack builds are failing as https://google-webfonts-helper.herokuapp.com/api/fonts is currently not reachable.

@dakur
Copy link

dakur commented Sep 7, 2022

That's recurring issue and will be forever as the service is hosted by an individual for free and has no guarantee for stability. You can:

@Moskito89
Copy link

This time, the error is a little bit different: The URL changed from https://google-webfonts-helper.herokuapp.com/api/fonts to https://gwfh.mranftl.com/fonts so there's a need for a small update. Please visit the old URL for a short explanation.

@tomkuipers
Copy link

This time, the error is a little bit different: The URL changed from https://google-webfonts-helper.herokuapp.com/api/fonts to https://gwfh.mranftl.com/fonts so there's a need for a small update. Please visit the old URL for a short explanation.

Thank you for pointing this out. Got my build working by overwriting default value of apiUrl with https://gwfh.mranftl.com/api/fonts.

For example:

new GoogleFontsPlugin({ fonts: [ {family: "Lato", variants: ["300", "400", "400italic", "700", "700italic"]} ], apiUrl: "https://gwfh.mranftl.com/api/fonts"

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

No branches or pull requests

5 participants