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

Use loli cdn to solve jsdelivr unavailable in CN #46

Closed
wants to merge 1 commit into from

Conversation

Burial0268
Copy link

JSDELIVR was blocked by mainland China for some reason, so using CDNJS. Loli.net to replace JSDELIVR to ensure the access of mainland Chinese users (translate by google)

@tankerkiller125
Copy link
Contributor

Just for other devs to know, loli.net get's heavily blocked by enterprise anti-virus/malware software and DLP systems. (In my experience as someone who manages those types of systems)

@Burial0268
Copy link
Author

However, in the current environment of mainland China, only loli.net can be accessed in the country. Is there any way to compare the two?For example, automatic switching these.

@Burial0268
Copy link
Author

Or use cdnjs.cloudflare.com,it's also good

@ruibaby
Copy link

ruibaby commented May 23, 2022

I suggest adding a setting option

@SychO9
Copy link
Member

SychO9 commented May 23, 2022

Yes, a setting for this makes a lot of sense, with options: JsDelivr CDN, Cloudflare CDN, and perhaps a custom option that displays an input text.

@SychO9
Copy link
Member

SychO9 commented May 23, 2022

Thank you very much for the PR. Since this is a read-only repository and all the development takes place in the flarum/framework monorepository I will be closing this.

Please feel free to open any future pull requests and issues there 🙌🏼.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants