Fix incorrect parenthesis (#108)

This commit is contained in:
Petr Sloup 2017-01-24 11:18:56 +01:00
parent 4992bc4194
commit 5c1d396ed2

View file

@ -60,7 +60,7 @@ module.exports = function(options, repo, params, id, reportTiles, reportFont) {
app.get('/' + id + '.json', function(req, res, next) {
var fixUrl = function(url, opt_nokey, opt_nostyle) {
if (!url || (typeof url !== 'string') || url.indexOf('local://' !== 0)) {
if (!url || (typeof url !== 'string') || url.indexOf('local://') !== 0) {
return url;
}
var queryParams = [];