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

?pin option is not working #206

Closed
lucacasonato opened this issue Nov 4, 2021 · 1 comment
Closed

?pin option is not working #206

lucacasonato opened this issue Nov 4, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@lucacasonato
Copy link
Contributor

I am using ?pin=v57, but v55 is being used.

/m/s/P/g/l/deno-gfm ❯❯❯ curl -i "https://esm.sh/[email protected]?pin=v57"
HTTP/2 200 
date: Thu, 04 Nov 2021 20:41:42 GMT
content-type: application/javascript; charset=utf-8
content-length: 213
access-control-expose-headers: X-TypeScript-Types
cache-control: public, max-age=300
vary: Origin
x-typescript-types: https://cdn.esm.sh/v55/@types/[email protected]/index.d.ts
cf-cache-status: DYNAMIC
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Z%2BgZgvPvUIB4Lbt9WLtA7FvHM90cTg6xIOkAWhpt5WDAbc2Z2cov0MOrsE%2FnVJG%2BYAhCgEZq5KDQjbBItnTrEeVfjDvqSn3g3T6MWSppg6PmUGsPO%2FgLdjP29AzphJlrx%2FcNq48%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 6a90aa26bb2d3258-FRA
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400

/* esm.sh - [email protected] */
export * from "https://cdn.esm.sh/v55/[email protected]/es2015/sanitize-html.js";
export { default } from "https://cdn.esm.sh/v55/[email protected]/es2015/sanitize-html.js";
@ije
Copy link
Member

ije commented Nov 6, 2021

fixed in 0e47247, and i am creating a front layer on cloudflare edge to get faster response instead of requesting the origin server to check npm version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants