diff --git a/src/ASTRAIN.Api/Program.cs b/src/ASTRAIN.Api/Program.cs index 8b86a0a..2a6612c 100644 --- a/src/ASTRAIN.Api/Program.cs +++ b/src/ASTRAIN.Api/Program.cs @@ -15,10 +15,6 @@ builder.Services.AddCors(options => policy.AllowAnyOrigin() .AllowAnyHeader() .AllowAnyMethod(); - - // policy.WithOrigins("http://localhost:5016", "http://:5016", "https://localhost:7252") - // .AllowAnyHeader() - // .AllowAnyMethod(); }); }); builder.Services.AddDbContext(options => diff --git a/src/ASTRAIN.Api/Properties/launchSettings.json b/src/ASTRAIN.Api/Properties/launchSettings.json index fbe357a..189abf6 100644 --- a/src/ASTRAIN.Api/Properties/launchSettings.json +++ b/src/ASTRAIN.Api/Properties/launchSettings.json @@ -14,7 +14,7 @@ "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": false, - "applicationUrl": "https://localhost:7049;http://localhost:5055", + "applicationUrl": "https://+:7049;http://+:5055", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/src/ASTRAIN.Client/wwwroot/appsettings.Development.json b/src/ASTRAIN.Client/wwwroot/appsettings.Development.json index eabb971..d63a334 100644 --- a/src/ASTRAIN.Client/wwwroot/appsettings.Development.json +++ b/src/ASTRAIN.Client/wwwroot/appsettings.Development.json @@ -1,3 +1,3 @@ { - "ApiBaseAddress": "http://localhost:5055" + "ApiBaseAddress": "http://10.20.30.99:5055" }