gitcdn.xyz icon indicating copy to clipboard operation
gitcdn.xyz copied to clipboard

Website Produces Wrong URL?

Open kylejbrk opened this issue 3 years ago • 6 comments

When generating a URL for this file: https://raw.githubusercontent.com/kylejbrk/standard-notes-open-extended/gh-pages/index.json

The website gives me this URL, which leads me to page saying "Not Found": https://gitcdn.xyz/repo/kylejbrk/standard-notes-open-extended/gh-pages/index.json

However, if I replace repo with cdn, the URL will work: https://gitcdn.xyz/cdn/kylejbrk/standard-notes-open-extended/gh-pages/index.json

Why does this work and why does the URL generated from the website not?

kylejbrk avatar Nov 23 '20 13:11 kylejbrk

Great question, I'll have to take a look and get back to you!

On Mon., 23 Nov. 2020, 11:03 pm kylejbrk, [email protected] wrote:

When generating a URL for this file:

https://raw.githubusercontent.com/kylejbrk/standard-notes-open-extended/gh-pages/index.json

The website gives me this URL, which leads me to page saying "Not Found":

https://gitcdn.xyz/repo/kylejbrk/standard-notes-open-extended/gh-pages/index.json

However, if I replace repo with cdn, the URL will work:

https://gitcdn.xyz/cdn/kylejbrk/standard-notes-open-extended/gh-pages/index.json

Why does this work and why does the URL generated from the website not?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/schme16/gitcdn.xyz/issues/65, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4K4KZHWCB2SKV573HUOLSRJMSBANCNFSM4T7OWSIQ .

schme16 avatar Nov 23 '20 14:11 schme16

Yeah similar things happening Input: https://raw.githubusercontent.com/vednig/emojicss/main/src/emoji.css Output: https://gitcdn.xyz/repo/vednig/emojicss/main/src/emoji.css Says: Not Found

vednig avatar Jan 29 '21 13:01 vednig

Does this fix the original url's it was generating, or does it replace it with the one that works?

For example: https://gitcdn.xyz/repo/kylejbrk/standard-notes-open-extended/gh-pages/index.json still says not found.

kylejbrk avatar Feb 03 '21 15:02 kylejbrk

Have fixed url generation but site is still not updated I think.

vednig avatar Feb 04 '21 04:02 vednig

2nd point in #plans-for-the-future says it is not hosted directly by github

vednig avatar Feb 04 '21 04:02 vednig

any updates on this?

kylejbrk avatar Mar 31 '21 17:03 kylejbrk