Curl not working on replit?

I get this: curl: (6) Could not resolve host: cdn.jsdelivr.com
for this cmd: curl "https://cdn.jsdelivr.com/gh/yyoncho/choosenim@master/scripts/choosenim-unix-init.sh" -o init.sh -sSf

I changed to raw gh user-content, works, but I want to know why this happened.

The jsDelivr CDN Host is “cdn.jsdelivr.net”, Not “cdn.jsdelivr.com
Change the URL to https://cdn.jsdelivr.net/gh/yyoncho/choosenim@master/scripts/choosenim-unix-init.sh

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.