Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDN URLs don't always work #112

Open
shawnbot opened this issue Sep 1, 2022 · 0 comments
Open

CDN URLs don't always work #112

shawnbot opened this issue Sep 1, 2022 · 0 comments
Labels

Comments

@shawnbot
Copy link
Member

shawnbot commented Sep 1, 2022

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

@shawnbot shawnbot added the docs label Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant