initial
This commit is contained in:
commit
646805c693
7 changed files with 48 additions and 0 deletions
9
dotnet/Program.cs
Normal file
9
dotnet/Program.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
var builder = WebApplication.CreateBuilder(args);
|
||||
var app = builder.Build();
|
||||
|
||||
var port = Environment.GetEnvironmentVariable("PORT") ?? "5000";
|
||||
var url = $"http://0.0.0.0:{port}";
|
||||
|
||||
app.MapGet("", () => "Hello World!");
|
||||
|
||||
app.Run(url);
|
||||
Loading…
Add table
Add a link
Reference in a new issue