Do not add style parameter when not needed (close #134)
This commit is contained in:
@@ -68,7 +68,7 @@ module.exports = function(options, repo, params, id, reportTiles, reportFont) {
|
||||
return url;
|
||||
}
|
||||
var queryParams = [];
|
||||
if (!opt_nostyle) {
|
||||
if (!opt_nostyle && global.addStyleParam) {
|
||||
queryParams.push('style=' + id);
|
||||
}
|
||||
if (!opt_nokey && req.query.key) {
|
||||
|
||||
Reference in New Issue
Block a user