Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

Commit

Permalink
support webp format for tile requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Sep 27, 2013
1 parent 03ffc63 commit 825c4e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion models/Project.bones
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ model.prototype.schema = {
// https://github.com/mapbox/tilelive-mapnik/issues/4
'format': {
'type': 'string',
'pattern': 'png(8|256)?(:.*)?|jpeg|jpeg[\d]{2}'
'pattern': 'png(:.*)?|jpeg(:.*)?|webp(:.*)?'
},
'interactivity': {
'type': ['object', 'boolean']
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"mapnik": "~1.2.1",
"tilelive": "4.5.x",
"mbtiles": "~0.2.8",
"tilelive-mapnik": "~0.6.0",
"tilelive-mapnik": "~0.6.2",
"carto": "https://github.com/mapbox/carto/tarball/master",
"millstone": "~0.6.4",
"sphericalmercator": "~1.0.2",
Expand Down

0 comments on commit 825c4e6

Please sign in to comment.