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

font.com request gives 404 #419

Open
Cottin opened this issue Nov 21, 2019 · 1 comment
Open

font.com request gives 404 #419

Cottin opened this issue Nov 21, 2019 · 1 comment

Comments

@Cottin
Copy link

Cottin commented Nov 21, 2019

I'm using your suggested configuration like so:

import WebFont from 'webfontloader'

WebFont.load({
	monotype: {
		projectId: 'xxxxxx-xxxx-xxxxxx-xxxx-xxxxxxxxxxx',
		loadAllFonts: true,
	}
})

And the browser is making a request to https://fast.fonts.net/jsapi/xxxxxx-xxxx-xxxxxx-xxxx-xxxxxxxxxxx.js that always gives a 404.

The sample code for the project which I download from fonts.com (which is not using webfontloader) works like a charm so the fonts.com project-id itself seems to work.

Is there something additional configurations to fonts.com I need to do in order to use webfontloader that is not documented here?
(Adding domains etc. seems to have been a thing in the past because fonts.com marks those guides as legacy now.)

@danimalweb
Copy link

I'm having the same issue.

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

2 participants