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