Skip to content

CDN URLs don't always work#112

Description

@shawnbot

The CDN URL is broken on the install page:

image

What's very weird is that it works just fine on the CSS page:

image

Both of these are calling the same publishedUrl() function, so... 馃し

export function publishedUrl (path, pkg = defaultPackage) {
return new URL(path, `https://unpkg.com/${pkg.name}@${pkg.version}/`).toString()
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions