1
0
Fork 0

подвиг: добавьте особенность чек здоровья и обновите файл докера для, строят процесс

This commit is contained in:
Arthur K. 2025-01-21 14:20:30 +03:00
parent fb91016710
commit c220610422
Signed by: wzray
GPG key ID: B97F30FDC4636357
3 changed files with 29 additions and 16 deletions

View file

@ -0,0 +1,6 @@
#include "httplib.hpp"
int main() {
auto res = httplib::Client("127.0.0.1", 80).Get("/health");
return !(res && res->status == 200);
}