diff --git a/Properties/launchSettings.json b/Properties/launchSettings.json index 8774181..234377b 100644 --- a/Properties/launchSettings.json +++ b/Properties/launchSettings.json @@ -18,7 +18,7 @@ "instructors_crud_test_task": { "commandName": "Project", "launchBrowser": true, - "applicationUrl": "https://localhost:5001;http://localhost:5000", + "applicationUrl": "http://localhost:5000", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/Startup.cs b/Startup.cs index 95b17e2..03a0434 100644 --- a/Startup.cs +++ b/Startup.cs @@ -63,7 +63,7 @@ namespace instructors_crud_test_task if (env.IsDevelopment()) { - spa.UseAngularCliServer(npmScript: "start"); + spa.UseProxyToSpaDevelopmentServer("http://localhost:4200"); } }); }