Add health check

This commit is contained in:
2024-04-28 15:26:46 -04:00
parent cc0aa2986d
commit c6d98c72ef

View File

@@ -0,0 +1,18 @@
package com.mattrixwv.cipherstream.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import lombok.extern.slf4j.Slf4j;
@Slf4j
@Controller
public class HealthCheckController{
@RequestMapping(value = "/health", method = RequestMethod.OPTIONS)
public void healthCheck(){
log.debug("Health check");
}
}