Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Fallback for CDN libs #11

Closed
Closed
@jimr

Description

@jimr
$ curl -I https://unpkg.com/[email protected]/dist/react.min.js
HTTP/1.1 404 Not Found
Date: Wed, 16 Aug 2017 08:53:46 GMT

The versions hosted on CDNJS seem fine:

$ curl -I https://cdnjs.cloudflare.com/ajax/libs/react/15.4.2/react.min.js
HTTP/1.1 200 OK
Date: Wed, 16 Aug 2017 08:55:22 GMT

Maybe it's a good idea to do a HEAD request on the CDN libs at app initialization & fall back to an alternate CDN or local versions of the files if they're not found?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions