Skip to content

Commit

Permalink
Configure user secrets in the Startup class
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavien committed Jul 10, 2016
1 parent 5ca0fbc commit 68306d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/Openchain.Server/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public Startup(IHostingEnvironment application)
configuration = new ConfigurationBuilder()
.SetBasePath(application.ContentRootPath)
.AddJsonFile("data/config.json")
.AddUserSecrets()
.AddUserSecrets("Openchain.Server")
.AddEnvironmentVariables()
.Build();
}
Expand Down
2 changes: 0 additions & 2 deletions src/Openchain/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
"Openchain.Anchoring.Blockchain": "0.6.0"
},

"userSecretsId": "Openchain.Server",

"frameworks": {
"netcoreapp1.0": {
"imports": [
Expand Down

0 comments on commit 68306d2

Please sign in to comment.