cpeditor / cpeditor.github.io

The official website of CP Editor :memo:
https://cpeditor.org
Apache License 2.0
20 stars 21 forks source link

fix(download): make download page functional without Vue loaded #279

Closed ouuan closed 2 years ago

ouuan commented 2 years ago

Recently jsDelivr is not very reachable in mainland China.

We may use other CDNs, but:

  1. A CDN reachable in China may be slow in other regions.
  2. If a user cannot reach jsDelivr, it's very likely that they also cannot reach GitHub or the connection would be very slow, which may make the version list not very helpful.
  3. Maybe the new CDN will be unavailable in the future.

So the solution in this commit is to put fewer elements in v-cloak so that the link to the Releases page and links to the mirrors are available without Vue being loaded.

render[bot] commented 2 years ago

Your Render PR Server URL is https://cpeditor-github-io-pr-279.onrender.com.

Follow its progress at https://dashboard.render.com/static/srv-ca92rnbru51qgp9n07j0.