New urls for source data tiles and rendered tiles

This commit is contained in:
Petr Sloup
2016-04-22 12:33:20 +02:00
parent c0fb4fd400
commit a25ce62662
11 changed files with 90 additions and 71 deletions

View File

@@ -1,6 +1,6 @@
var testStatic = function(prefix, q, format, status, scale, type) {
if (scale) q += '@' + scale + 'x';
var path = '/static/' + prefix + '/' + q + '.' + format;
var path = '/styles/' + prefix + '/rendered/static/' + q + '.' + format;
it(path + ' returns ' + status, function(done) {
var test = supertest(app).get(path);
if (status) test.expect(status);