From a24e863be90698374771569214a7a50c959f5c59 Mon Sep 17 00:00:00 2001 From: Sneha Gunda Date: Thu, 27 Jun 2019 11:12:44 -0700 Subject: [PATCH] Removing hardcoded parameters --- src/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Program.cs b/src/Program.cs index a37139f..2b3414d 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -31,12 +31,12 @@ public class Program /// /// The Azure DocumentDB endpoint for running this GetStarted sample. /// - private const string EndpointUrl = "https://localhost:8081"; + private const string EndpointUrl = Environment.GetEnvironmentVariable("EndpointUrl"); /// /// The primary key for the Azure DocumentDB account. /// - private const string PrimaryKey = "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw=="; + private const string PrimaryKey = Environment.GetEnvironmentVariable("PrimaryKey"); /// /// The DocumentDB client instance.