Switched to dedicated sync service

This commit is contained in:
2026-01-17 21:28:57 +01:00
parent 19c27c8ef0
commit 70dd1358ca
10 changed files with 87 additions and 142 deletions

10
Models/ConfigData.cs Normal file
View File

@@ -0,0 +1,10 @@
namespace OneDriveBackupService.Models;
public sealed class ConfigData(IConfiguration config) {
public string Schedule { get; } = config["Schedule"]!;
public string BackupUploadRoot { get; } = config["UploadRoot"]!;
public string LocalRoot { get; } = config["LocalRoot"]!;
public string IncludeFile { get; } = config["IncludeFile"]!;
public int KeepLast { get; } = int.Parse(config["KeepLast"]!);
public string OneDriveApiUrl { get; } = config["OneDriveApiUrl"]!;
}