Github gist editing without changing URL

后端 未结 6 1605
轻奢々
轻奢々 2021-01-31 16:12

I have a gist with some javascript code in a script tag, like so:



        
6条回答
  •  逝去的感伤
    2021-01-31 16:50

    Gist changed the path to this file pattern:

    https://gist.github.com///raw//
    

    You will notice that now the top answers' links are 404'ing.

    Simply apply this new pattern and voilà!

    https://gist.github.com///raw/
    

    For instance:

    https://gist.githubusercontent.com/wesbos/cd16b8b1815825f111a2/raw/lol.js

提交回复
热议问题