The original implementation uses the old Leancloud CDN and API with a deprecated domain which is 404 currently. The PR upgraded the CDN address so that the counter could work again.
Additionally, Leancloud has required CN Apps to use the specified public domain or custom domain recently, so I also exposed a required config named server_url to support user defined domain.
Considering the Leancloud now depending on the third-party CDN like unpkg/jsdelivr instead of providing an official one, I added an optional CDN config so that the users would be able to use the CDN as they wish.
The original implementation uses the old Leancloud CDN and API with a deprecated domain which is 404 currently. The PR upgraded the CDN address so that the counter could work again.
Additionally, Leancloud has required CN Apps to use the specified public domain or custom domain recently, so I also exposed a required config named server_url to support user defined domain.
Considering the Leancloud now depending on the third-party CDN like unpkg/jsdelivr instead of providing an official one, I added an optional CDN config so that the users would be able to use the CDN as they wish.