Files
anonymous_github/src/storage.ts
2023-02-13 13:38:57 +01:00

8 lines
218 B
TypeScript

import config from "../config";
import FileSystem from "./storage/FileSystem";
import S3Storage from "./storage/S3";
export default (() => {
return config.STORAGE == "s3" ? new S3Storage() : new FileSystem();
})();