Working on Networking..
This commit is contained in:
@@ -37,6 +37,8 @@ builder.Services.AddOptions<DatabaseOptions>()
|
|||||||
|
|
||||||
// ---- Build the app AFTER all service registrations ----
|
// ---- Build the app AFTER all service registrations ----
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
app.MapGet("/health/live", () => Results.Ok(new { status = "live" }));
|
||||||
|
app.MapGet("/health/ready", () => Results.Ok(new { status = "ready" }));
|
||||||
// ---- WebSockets endpoint ----
|
// ---- WebSockets endpoint ----
|
||||||
app.UseWebSockets(new WebSocketOptions
|
app.UseWebSockets(new WebSocketOptions
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user