mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-11-15 06:46:33 +01:00
Include legacy uploader format from metadata
This commit is contained in:
@@ -12,7 +12,7 @@ public static class FileStorageStartup
|
||||
|
||||
if (settings.CloudStorage != default)
|
||||
{
|
||||
services.AddTransient<IUserUploadsStore, UserUploadStore>();
|
||||
services.AddTransient<IUserUploadsStore, CacheUserUploadStore>();
|
||||
|
||||
// cloud storage
|
||||
if (settings.CloudStorage.S3 != default)
|
||||
@@ -29,7 +29,7 @@ public static class FileStorageStartup
|
||||
}
|
||||
else
|
||||
{
|
||||
services.AddTransient<IUserUploadsStore, UserUploadStore>();
|
||||
services.AddTransient<IUserUploadsStore, CacheUserUploadStore>();
|
||||
services.AddTransient<IFileStore, LocalDiskFileStore>();
|
||||
services.AddTransient<IFileMetadataStore, LocalDiskFileMetadataStore>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user