An userscript to add "Rawgit" button on github.
< Σχολιασμός για τον κώδικα Github Rawgit Button
Support the production URL?
It would be great if there was an option to link to the production URL (e.g. https://cdn.rawgit.com/user/repo/tag/file) rather than the dev URL (e.g. https://rawgit.com/user/repo/branch/file).
https://cdn.rawgit.com/user/repo/tag/file
https://rawgit.com/user/repo/branch/file
https://github.com/rgrove/rawgit/blob/cdn-20170108/FAQ.md#whats-the-difference-between-rawgitcom-and-cdnrawgitcom-urls
Sounds good, we can add a "Rawgit CDN" button.
BTW, if the project is hosted on npm, you can try unpkg.com.
Συνδεθείτε για να δημοσιεύσετε μια απάντηση.
Support the production URL?
It would be great if there was an option to link to the production URL (e.g.
https://cdn.rawgit.com/user/repo/tag/file
) rather than the dev URL (e.g.https://rawgit.com/user/repo/branch/file
).https://github.com/rgrove/rawgit/blob/cdn-20170108/FAQ.md#whats-the-difference-between-rawgitcom-and-cdnrawgitcom-urls