Add v query param

Fixes #52
This commit is contained in:
MICHAEL JACKSON 2017-08-15 12:37:29 -07:00
parent 9d15462006
commit f5be48f2f4
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,9 @@ const PackageURL = require('../PackageURL')
const ValidQueryKeys = {
main: true,
meta: true,
json: true // deprecated
json: true, // deprecated
v: true // we don't do anything with this, but some icon font libraries
// use it to bust the cache on private servers (see #52)
}
function queryIsValid(query) {