diff options
Diffstat (limited to 'code/api/src/Models/Misc/AppConfiguration.cs')
| -rw-r--r-- | code/api/src/Models/Misc/AppConfiguration.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/code/api/src/Models/Misc/AppConfiguration.cs b/code/api/src/Models/Misc/AppConfiguration.cs index 31e5726..9ed6fe4 100644 --- a/code/api/src/Models/Misc/AppConfiguration.cs +++ b/code/api/src/Models/Misc/AppConfiguration.cs @@ -1,6 +1,6 @@ using System.Security.Cryptography.X509Certificates; -namespace IOL.GreatOffice.Api.Data.Models; +namespace IOL.GreatOffice.Api.Models.Models; public class AppConfiguration { @@ -96,8 +96,10 @@ public class AppConfiguration public X509Certificate2 CERT1() => new(Convert.FromBase64String(APP_CERT)); - public object GetPublicVersion() { - return new { + public object GetPublicObject() + { + return new + { DB_HOST, DB_PORT, DB_USER, |
