mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-17 15:23:28 +02:00
feat: introduce streamers that handle the stream and anonymization from github
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import config from "../config";
|
||||
import FileSystem from "./storage/FileSystem";
|
||||
import S3Storage from "./storage/S3";
|
||||
|
||||
export default (() => {
|
||||
return config.STORAGE == "s3" ? new S3Storage() : new FileSystem();
|
||||
})();
|
||||
Reference in New Issue
Block a user