Skip to content

Commit b39c4d2

Browse files
committed
Update Program.cs
1 parent a46568e commit b39c4d2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

TechStacks/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@
164164
return TypedResults.Challenge(properties, ["GitHub"]);
165165
});
166166

167+
app.MapGet("/up", () => Results.Ok("OK"));
168+
167169
app.UseServiceStack(new AppHost(), options =>
168170
{
169171
options.MapEndpoints();
@@ -199,7 +201,7 @@
199201
Console.WriteLine($"Failed to start Next.js dev server: {process.ExitCode}");
200202
return;
201203
}
202-
204+
203205
process.Exited += (s, e) => {
204206
Console.WriteLine("[node] Exited: " + process.ExitCode);
205207
File.Delete(nextLockFile);

0 commit comments

Comments
 (0)