Skip to content

Commit b7b050a

Browse files
committed
Add /up for Kamal health check
1 parent 054de87 commit b7b050a

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

BlazorDiffusion.ServiceInterface/MyServices.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,9 @@ public async Task<object> Any(UpdateUserProfile request)
9595
Avatar = request.Avatar ?? userInfo.Avatar,
9696
};
9797
}
98+
99+
public object Get(KamalUp request)
100+
{
101+
return new KamalUpResponse();
102+
}
98103
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using ServiceStack;
2+
3+
namespace BlazorDiffusion.ServiceModel;
4+
5+
[Route("/up")]
6+
public class KamalUp : IGet, IReturn<KamalUpResponse>
7+
{
8+
}
9+
10+
public class KamalUpResponse
11+
{
12+
}

0 commit comments

Comments
 (0)