rgrove / rawgit

Served files from raw.githubusercontent.com, but with the correct content types. No longer actively developed.
https://rawgit.com
MIT License
2.39k stars 488 forks source link

source URL #150

Closed morandd closed 7 years ago

morandd commented 7 years ago

Stupid question, but could you clarify in the FAQ which kind of source URL we should provide.

Should it be the github.com url, or the raw.githubusercontent.com url?

e.g https://github.com/flozz/StackBlur/blob/1.4.0/dist/stackblur.min.js or https://raw.githubusercontent.com/flozz/StackBlur/1.4.0/dist/stackblur.min.js

thanks

desyncr commented 7 years ago

It should be raw but it manages to retrieve raw if github url is given. See https://github.com/rgrove/rawgit/commit/c378c0103a334a9a65dc9553c50f65603892ef7e, so both formats work.

rgrove commented 7 years ago

Yep, either one will work fine.

I think this is one of those things it's easy to try for yourself, so I'm not sure a FAQ entry is needed. If this question comes up again, I'll consider adding one.