Skip to content

Commit e0668f5

Browse files
committed
update hello endpoint response to return a simple greeting
1 parent 47e14da commit e0668f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/kotlin/server2/SpringApp.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ val counter = java.util.concurrent.atomic.AtomicLong()
2222
@RestController
2323
class HelloController {
2424
@GetMapping("/hello")
25-
fun hello(): String = "Hello, World! The app has served ${counter.incrementAndGet()} requests."
25+
fun hello(): String = "hello world"
2626
}
2727

2828
@RestController

0 commit comments

Comments
 (0)