-
Hi, I have some font files to be hosted in cdnjs because the current SaaS provider has a following cross-origin configuration:
The SaaS application allows custom styling to be added but when attempt to load the font files externally, the cross-origin (font) resources were blocked. Chrome showed (blocked:csp) status. According to https://github.com/cdnjs/packages/blob/master/CONTRIBUTING.md, a GitHub repository requirement is normally 200 stars before can be added to cdnjs. Any suggestion? Tqvm. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey! cdnjs doesn't host arbitrary files from users, but rather we host established libraries (e.g. Bootstrap). If the font you're looking to be added is published as a library on NPM (or tagged with versions on Git), and meets our criteria for notability, please open a PR or issue in cdnjs/packages to add it :) |
Beta Was this translation helpful? Give feedback.
-
Hi Matt, thanks for the reply. I am of the same opinion too. Hosting such packages from users will defeat real intent of cdnjs. I will find alternative solution. On separate note, I am trying to find out more info on https://cc-cdn.com. The domain is owned by Cloudflare and it too publishes libraries. Would like to know if it's possible to publish the font files here instead. If yes, how do I go about doing it. Thank you. |
Beta Was this translation helpful? Give feedback.
Hey!
cdnjs doesn't host arbitrary files from users, but rather we host established libraries (e.g. Bootstrap).
If the font you're looking to be added is published as a library on NPM (or tagged with versions on Git), and meets our criteria for notability, please open a PR or issue in cdnjs/packages to add it :)