chore: import MusifyBackend into monorepo (preserving history)
git-subtree-dir: MusifyBackend git-subtree-mainline:6829e769edgit-subtree-split:ed7b00c2cc
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Musify.Infrastructure.Configuration
|
||||
{
|
||||
public class WorkerConfiguration
|
||||
{
|
||||
public const string SectionName = "Workers";
|
||||
|
||||
[Required]
|
||||
public WorkerRoutes Routes { get; set; } = new WorkerRoutes();
|
||||
}
|
||||
|
||||
public class WorkerRoutes
|
||||
{
|
||||
[Required]
|
||||
public string TemporaryFilesDirectory { get; set; } = Path.GetTempPath();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user