beyonk-group / google-fonts-webpack-plugin

47 stars 24 forks source link

Failing builds due to API_URL not reachable #22

Closed knusperkrone closed 1 year ago

knusperkrone commented 2 years ago

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

dakur commented 2 years ago

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 commented 1 year ago

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 commented 1 year ago

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"