👷 making sure, that baseURL is always followed by a slash
This commit is contained in:
parent
707d91681f
commit
966b6ba0a7
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ module.exports.getTileUrls = function(req, domains, path, format, baseURL) {
|
|||
var query = (key && key.length > 0) ? ('?key=' + key) : '';
|
||||
|
||||
if (baseURL) {
|
||||
return [baseURL + path + '/{z}/{x}/{y}.' + format + query]
|
||||
return [baseURL + '/' + path + '/{z}/{x}/{y}.' + format + query]
|
||||
}
|
||||
|
||||
if (domains) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue