super basic preview server healthcheck

This commit is contained in:
Kasisnu
2024-05-09 04:42:03 +05:30
parent 1ad843ae49
commit c071ac0b4a
@@ -183,6 +183,9 @@ def signal_handler(signum, frame):
print("ComfyUI server terminated")
exit(0)
@app.get('/health')
def health():
return "All good"
@app.post("/preview/")