From 1f7c5fef7273f4d5dcf735c76ad3ea7c1f467363 Mon Sep 17 00:00:00 2001 From: Daniele Maltese <17677294+ilmalte@users.noreply.github.com> Date: Sun, 7 Nov 2021 16:05:39 +0100 Subject: [PATCH] fix(backend): swagger as launchUrl Current launchUrl in launchSettings.json points to weatherforecast but it doesn't exist. It would be better that when the backend project is started, the browser opens Swagger. --- backend/Properties/launchSettings.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/Properties/launchSettings.json b/backend/Properties/launchSettings.json index dd250e1..c70e46c 100644 --- a/backend/Properties/launchSettings.json +++ b/backend/Properties/launchSettings.json @@ -12,7 +12,7 @@ "IIS Express": { "commandName": "IISExpress", "launchBrowser": true, - "launchUrl": "weatherforecast", + "launchUrl": "swagger", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } @@ -20,7 +20,7 @@ "backend": { "commandName": "Project", "launchBrowser": true, - "launchUrl": "weatherforecast", + "launchUrl": "swagger", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, @@ -29,9 +29,9 @@ "Docker": { "commandName": "Docker", "launchBrowser": true, - "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/weatherforecast", + "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/swagger", "publishAllPorts": true, "useSSL": true } } -} \ No newline at end of file +}