File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
api/src/main/java/com/mbtips/common/controller Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 44import io .swagger .v3 .oas .annotations .security .SecurityRequirements ;
55import io .swagger .v3 .oas .annotations .tags .Tag ;
66import lombok .RequiredArgsConstructor ;
7- import org .springframework .web .bind .annotation .GetMapping ;
8- import org .springframework .web .bind .annotation .RequestMapping ;
9- import org .springframework .web .bind .annotation .RestController ;
7+ import org .springframework .web .bind .annotation .*;
108
119@ RestController
1210@ RequiredArgsConstructor
1311@ RequestMapping ("/health-check" )
12+ @ CrossOrigin (origins = "*" , allowedHeaders = "*" , methods = {RequestMethod .GET })
1413@ Tag (name = "L7 health-check" , description = "L7 health-check API" )
1514public class HealthCheckController {
1615
You can’t perform that action at this time.
0 commit comments