amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Create "latest" alias for extended components on cdn.ampproject.org

Open teleservizi opened this issue 11 years ago • 3 comments

teleservizi avatar Sep 22 '15 10:09 teleservizi

Could you expand a bit what the problem is?

cramforce avatar Sep 22 '15 10:09 cramforce

Sorry in amp-html-format.md : The script URL must start with “https://cdn.ampproject.org” and must follow a very strict pattern of “/v\d+/[a-z-]+-(latest|\d+|\d+-\d+).js”

https://cdn.ampproject.org/v0/amp-youtube-0.1.js works

https://cdn.ampproject.org/v0/amp-youtube-latest.js 404

teleservizi avatar Sep 22 '15 12:09 teleservizi

Ah, I see. Thanks for the report!

On Tue, Sep 22, 2015 at 2:25 PM teleservizi [email protected] wrote:

Sorry in amp-html-format.md : The script URL must start with “https://cdn.ampproject.org” and must follow a very strict pattern of “/v\d+/[a-z-]+-(latest|\d+|\d+-\d+).js”

https://cdn.ampproject.org/v0/amp-youtube-0.1.js works

https://cdn.ampproject.org/v0/amp-youtube-latest.js 404

— Reply to this email directly or view it on GitHub https://github.com/ampproject/amphtml/issues/264#issuecomment-142272471.

cramforce avatar Sep 22 '15 12:09 cramforce