alanshaw / david-www

:eyeglasses: David helps keep your Node.js project dependencies up to date.
https://david-dm.org
MIT License
731 stars 131 forks source link

Return 404 for wrong badge url (missing '/status') #404

Closed kevindice closed 6 years ago

kevindice commented 6 years ago

For a while, I had incorrectly been using https://david-dm.org/cnap-cobre/synapse.svg?path=frontend as my badge. As you can see (as of now, 04/25/2018) it returns an SVG with status = pending.

Dependency Freshness

I think this probably should return a 404 instead. The correct URL is https://david-dm.org/cnap-cobre/synapse/status.svg?path=frontend and reflects the current state of my repo:

Dependency Freshness

kevindice commented 6 years ago

Oops, my problem was .../synapse.svg?frontend rather than .../synapse.svg?path=frontend. That explains it. Closing...

Had the perfect issue number too. (#404)