Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #78 from martijnmelchers/master
Browse files Browse the repository at this point in the history
master 2 dev
  • Loading branch information
Martijn Melchers authored Jan 10, 2020
2 parents e44743f + 4e53bfc commit f0046fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DomainServices/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static IServiceCollection AddDomainServices(this IServiceCollection servi
services.AddTransient<FestispecContext>();
services.AddScoped(typeof(ISyncService<>), typeof(JsonSyncService<>));
services.AddSingleton<IOfflineService, DbPollOfflineService>();
string environment = Environment.GetEnvironmentVariable("Environment") ?? "Debug";
string environment = Environment.GetEnvironmentVariable("Environment") ?? "Production";

IConfigurationRoot configuration = new ConfigurationBuilder()
.AddJsonFile($"appsettings.{environment}.json")
Expand Down

0 comments on commit f0046fc

Please sign in to comment.