Skip to content

Commit ddc4d3c

Browse files
authored
Change port for Net core
1 parent 488a35f commit ddc4d3c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dotnet/src/dotnetframework/GxClasses/Helpers/GXRestAPIClient.cs

+4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ public GXRestAPIClient()
2929
Location.BaseUrl = "api";
3030
Location.Host = "www.example.com";
3131
Location.ResourceName = "service";
32+
#if NETCORE
33+
Location.Port = 8082;
34+
#else
3235
Location.Port = 80;
36+
#endif
3337
}
3438

3539

0 commit comments

Comments
 (0)