adding storage mode

This commit is contained in:
Daniël 2024-06-09 15:37:54 +02:00
parent ffcee4e802
commit c99ab6c3ec

View file

@ -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;