Skip to content

CDN URLs don't always work #112

@shawnbot

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()
}

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