diff --git a/Program.cs b/Program.cs index e7abcfd..e20aa66 100644 --- a/Program.cs +++ b/Program.cs @@ -59,6 +59,8 @@ app.MapGet("/api/v1/sync", async (HttpContext ctx) => { + Debug.WriteLine("test 0"); + string instructionId = ctx.Request.Headers["id"]; string key = ctx.Request.Headers["apikey"]; diff --git a/Properties/launchSettings.json b/Properties/launchSettings.json index 77acc7a..148fbbf 100644 --- a/Properties/launchSettings.json +++ b/Properties/launchSettings.json @@ -24,6 +24,16 @@ "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/swagger", "publishAllPorts": true, "useSSL": true + }, + "WSL": { + "commandName": "WSL2", + "launchBrowser": true, + "launchUrl": "https://localhost:7190/swagger", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development", + "ASPNETCORE_URLS": "https://localhost:7190;http://localhost:5195" + }, + "distributionName": "" } }, "$schema": "https://json.schemastore.org/launchsettings.json", diff --git a/ValkyrieServerController.cs b/ValkyrieServerController.cs index d3b4542..7aeb524 100644 --- a/ValkyrieServerController.cs +++ b/ValkyrieServerController.cs @@ -23,7 +23,7 @@ public class ValkyrieServerController /// /// the base URI for the Valkyrie server /// - private Uri selectedURI = testGetDataURI; + private Uri selectedURI = prodGetDataURI; public ValkyrieServerController() { @@ -105,7 +105,7 @@ public ValkyrieServerController() client.DefaultRequestHeaders.Add("x-api-key", ValkyrieAPIKey); client.DefaultRequestHeaders.Add("x-instruction-id", instructionId); - var response = await client.PostAsync(testSyncFunctionsURI, content); + var response = await client.PostAsync(prodSyncFunctionsURITestBranch, content); using StreamReader reader = new StreamReader(response.Content.ReadAsStream());