HACKER Q&A
📣 hartleybrody

Anyone else getting Cloudflare checkpoint pages returned from unpkg CDN?


    >  curl https://unpkg.com/leaflet@1.7.1/dist/leaflet.css

    
    
    
        Just a moment...
    ... a bunch of HTML


  👤 jw1224 Accepted Answer ✓
Yes, seems to be an issue with CloudFlare's JS challenge page interrupting the resource request: https://github.com/mjackson/unpkg/issues/343

I was able to hastily fix this in production by migrating to jsdeliver: https://www.jsdelivr.com/unpkg