From c99ab6c3ec5098acf33fdebe3cfae9889df6d5da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl?= <15849319+abcdan@users.noreply.github.com> Date: Sun, 9 Jun 2024 15:37:54 +0200 Subject: [PATCH] adding storage mode --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index eb48791..ec0be88 100644 --- a/index.js +++ b/index.js @@ -13,6 +13,7 @@ app.use(helmet()); const s3 = require("./engines/s3.engine"); const local = require("./engines/local.engine"); +const storageMode = process.env.STORAGE_MODE || "local"; app.get("/", async (req, res) => { let storageEngine;