Merge pull request #2 from jlengrand/feat/automated-preview-branch-test

Feat/automated preview branch test
This commit is contained in:
julien Lengrand-Lambert
2024-06-10 23:00:54 +02:00
committed by GitHub
2 changed files with 10 additions and 1 deletions

1
.gitignore vendored
View File

@@ -34,3 +34,4 @@ out/
### VS Code ### ### VS Code ###
.vscode/ .vscode/
.DS_Store

View File

@@ -9,5 +9,13 @@ fun Application.configureRouting() {
get("/") { get("/") {
call.respondText("Hello World!") call.respondText("Hello World!")
} }
get("/user/{name}"){
call.respondText("Hello ${call.parameters["name"]}!")
}
get("/mood/{mood}"){
call.respondText("Are you feeling ${call.parameters["mood"]}?")
}
} }
} }