mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 10:52:53 +00:00
8 lines
218 B
TypeScript
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();
|
|
})();
|