need to add the query parameter to the url.
This commit is contained in:
parent
095c175572
commit
cc08fa1323
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ module.exports.getTileUrls = function (req, domains, path, format, aliases, opti
|
||||||
var key = req.query.key;
|
var key = req.query.key;
|
||||||
var queryParams = [];
|
var queryParams = [];
|
||||||
if (req.query[options.auth.keyName]) {
|
if (req.query[options.auth.keyName]) {
|
||||||
queryParams.push(options.auth.keyName + '=' + req.query);
|
queryParams.push(options.auth.keyName + '=' + req.query[options.auth.keyName]);
|
||||||
}
|
}
|
||||||
if (req.query.style) {
|
if (req.query.style) {
|
||||||
queryParams.push('style=' + req.query.style);
|
queryParams.push('style=' + req.query.style);
|
||||||
|
|
Loading…
Reference in a new issue