Single version numbers don't work for the unpkg CDN
Seems to be similar to #129
I first encountered the problem at https://www.nfl.com/scores/
The site makes two requests to unpkg.com:
Both of the requests fail since only the version '17' is provided.
I tested this on my local site and requests will succeed this format:
But fail with this format:
Thanks for your report. So far only one-digit numbers were processed, e.g.
https://unpkg.com/react@1/umd/react.production.min.js https://unpkg.com/react@2/umd/react.production.min.js https://unpkg.com/react@6/umd/react.production.min.js
I've modified that so that two-digit numbers are also processed.
If you want to test it, you can find a short tutorial here: https://codeberg.org/nobody/LocalCDN/wiki#user-content-5-you-recently-changed-something-in-the-code-and-i-would-like-to-test-it-how-can-i-do-that
Deleting a branch is permanent. It CANNOT be undone. Continue?