From b2733e2107a4527ce6c03da278683dc87b158a5e Mon Sep 17 00:00:00 2001 From: Andrew Calcutt Date: Sat, 7 Oct 2023 20:11:03 -0400 Subject: [PATCH] chore: remove unused class Signed-off-by: Andrew Calcutt --- src/main.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/main.js b/src/main.js index f3d7837..e468dd0 100644 --- a/src/main.js +++ b/src/main.js @@ -80,19 +80,6 @@ const startServer = (configPath, config) => { }); }; -var PMTilesLocalSource = class { - constructor(file) { - this.file = file; - } - getKey() { - return this.file.name; - } - async getBytes(offset, length) { - const blob = this.file.slice(offset, offset + length); - return { data: blob }; - } -}; - const startWithPMTiles = async (pmtilesFile) => { console.log(`[INFO] Automatically creating config file for ${pmtilesFile}`); console.log(`[INFO] Only a basic preview style will be used.`);