File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/java/com/example Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<project xmlns =" http://maven.apache.org/POM/4.0.0"
33 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0
55 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
66 <modelVersion >4.0.0</modelVersion >
77
Original file line number Diff line number Diff line change 88@ SpringBootApplication
99@ RestController
1010public class App {
11-
11+
1212 public static void main (String [] args ) {
1313 SpringApplication .run (App .class , args );
1414 }
15-
15+
1616 @ GetMapping ("/" )
1717 public String hello () {
1818 return "Hello World! The application is running on port 2020." ;
1919 }
20-
20+
2121 @ GetMapping ("/health" )
2222 public String health () {
2323 return "Application is healthy!" ;
You can’t perform that action at this time.
0 commit comments