From ba86ba12732b3290eaa74936950a370966b41ac5 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Thu, 16 Apr 2026 02:22:56 +1000 Subject: v0.10a --- Services/ConfigService.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Services/ConfigService.cs') diff --git a/Services/ConfigService.cs b/Services/ConfigService.cs index d2d1a06..752f9f5 100644 --- a/Services/ConfigService.cs +++ b/Services/ConfigService.cs @@ -2,6 +2,7 @@ public interface IConfigService { public string DataPath { get; } + public string KeyPath { get; } public string DbConnectionString { get; } public string MediaBasePath { get; } public string ThumbnailBasePath { get; } @@ -38,6 +39,9 @@ public class ConfigService : IConfigService { } } + public string KeyPath => + Path.Join(DataPath, "keys"); + public string DbConnectionString => config.GetConnectionString("DefaultConnection") ?? throw new HBException("Unable to get default connection string"); -- cgit v1.3