summary refs log tree commit diff
path: root/testFrontend/SafeNSound.Sdk/SafeNSoundConfiguration.cs
diff options
context:
space:
mode:
Diffstat (limited to 'testFrontend/SafeNSound.Sdk/SafeNSoundConfiguration.cs')
-rw-r--r--testFrontend/SafeNSound.Sdk/SafeNSoundConfiguration.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testFrontend/SafeNSound.Sdk/SafeNSoundConfiguration.cs b/testFrontend/SafeNSound.Sdk/SafeNSoundConfiguration.cs

index d479825..b2aa2c0 100644 --- a/testFrontend/SafeNSound.Sdk/SafeNSoundConfiguration.cs +++ b/testFrontend/SafeNSound.Sdk/SafeNSoundConfiguration.cs
@@ -1,6 +1,13 @@ +using Microsoft.Extensions.Configuration; + namespace SafeNSound.Sdk; public class SafeNSoundConfiguration { + public SafeNSoundConfiguration(IConfiguration configuration) + { + configuration.GetRequiredSection("SafeNSound").Bind(this); + } + public string BaseUri { get; set; } = "http://localhost:3000"; } \ No newline at end of file