Git Product home page Git Product logo

Comments (4)

MartinKolarik avatar MartinKolarik commented on June 2, 2024

The file you requested is on main, not master. The correct link is https://cdn.jsdelivr.net/gh/AnthonyRKing/TKonan@main/thumbnail.jpeg

from jsdelivr.

AnthonyRKing avatar AnthonyRKing commented on June 2, 2024

Thanks for clarifying that, Martin. I did check the documentation, which said:

'Omit the version completely or use "latest" to load the latest one (only works with valid semver versions): (Dev environment only)'

I couldn't find any mention of needing to be on the Master branch for that to work. I'm afraid I couldn't say whether I'm compliant with the 'semver' and 'Dev environment' stipulations.

from jsdelivr.

MartinKolarik avatar MartinKolarik commented on June 2, 2024

That part applies to using valid semver tags, as it says, which you don't use. Branches generally need to be referenced via @branch, with default being the @master. I'll look into improving the docs to explain this better.

from jsdelivr.

AnthonyRKing avatar AnthonyRKing commented on June 2, 2024

Great. I think a little improvement there would be beneficial to any newcomer to the JSDelivr/GitHub method looking for the simplest way to get started; particularly those new to GitHub, who may have only simple mono-version repositories.

It does strike me though, that since GitHub has changed its default root branch name from 'master' to 'main', perhaps jsdelivr would better treat 'main' as a 2nd default; better still, have it as 1st default before 'master'.

from jsdelivr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.