Skip to content

Commit ff8e121

Browse files
author
Robinson Aizprua
committed
added url
1 parent 79da52a commit ff8e121

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.DS_Store

0 Bytes
Binary file not shown.

src/GOC.ApiGateway/Program.cs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.IO;
4-
using System.Linq;
5-
using System.Threading.Tasks;
6-
using Microsoft.AspNetCore;
1+
using Microsoft.AspNetCore;
72
using Microsoft.AspNetCore.Hosting;
8-
using Microsoft.Extensions.Configuration;
9-
using Microsoft.Extensions.Logging;
103

114
namespace GOC.ApiGateway
125
{
@@ -19,7 +12,8 @@ public static void Main(string[] args)
1912

2013
public static IWebHost BuildWebHost(string[] args) =>
2114
WebHost.CreateDefaultBuilder(args)
22-
.UseStartup<Startup>()
15+
.UseStartup<Startup>()
16+
.UseUrls("http://*:5001")
2317
.Build();
2418
}
2519
}

0 commit comments

Comments
 (0)