From 4549b27d4e931c25bc46266504fad50590dfc99f Mon Sep 17 00:00:00 2001 From: Andrew Calcutt Date: Sun, 15 Oct 2023 01:19:10 -0400 Subject: [PATCH] fix: lint Signed-off-by: Andrew Calcutt --- src/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.js b/src/server.js index 96bcac8..ebebca8 100644 --- a/src/server.js +++ b/src/server.js @@ -212,7 +212,7 @@ function start(opts) { StyleSourceId; if (isValidHttpUrl(StyleSourceId)) { id = - fnv1a(StyleSourceId) + '_' + id.replace(/^.*\/(.*)$/, '$1'); + fnv1a(StyleSourceId) + '_' + id.replace(/^.*\/(.*)$/, '$1'); } while (data[id]) id += '_'; //if the data source id already exists, add a "_" untill it doesn't //Add the new data source to the data array.