Fix port binding (#31)
All checks were successful
Game Ideas deploy / build-test-deploy (push) Successful in 1m47s
All checks were successful
Game Ideas deploy / build-test-deploy (push) Successful in 1m47s
Reviewed-on: #31
This commit was merged in pull request #31.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using GameIdeas.Resources;
|
||||
using GameIdeas.Shared.Constants;
|
||||
using GameIdeas.Shared.Model;
|
||||
using GameIdeas.WebAPI.Context;
|
||||
using GameIdeas.WebAPI.Services.Categories;
|
||||
@@ -93,6 +94,8 @@ services.AddCors(option => option.AddDefaultPolicy(policy =>
|
||||
.AllowAnyHeader()
|
||||
.WithMethods("GET", "POST", "PUT", "DELETE")));
|
||||
|
||||
builder.WebHost.UseUrls($"http://127.0.0.1:{GlobalConstants.API_PORT}");
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
using (var scope = app.Services.CreateScope())
|
||||
|
||||
Reference in New Issue
Block a user