Hacker Timesnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Anyone else getting Cloudflare checkpoint pages returned from unpkg CDN?
3 points by hartleybrody on Oct 28, 2022 | hide | past | favorite | 1 comment

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

    <!DOCTYPE html>
    <html lang="en-US">
    <head>
        <title>Just a moment...</title>
    ... a bunch of HTML


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




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: