mirror of
https://github.com/jlengrand/pluckr.git
synced 2026-03-10 08:41:17 +00:00
WTF Bro
This commit is contained in:
2
.github/workflows/build-backend.yml
vendored
2
.github/workflows/build-backend.yml
vendored
@@ -26,6 +26,6 @@ jobs:
|
||||
with:
|
||||
arguments: build
|
||||
- name: Upload coverage reports
|
||||
uses: codecov/codecov-action@v2
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
files: build/reports/kover/report.xml
|
||||
@@ -21,11 +21,11 @@ fun Application.module() {
|
||||
val env = environment.config.propertyOrNull("ktor.environment")?.getString()
|
||||
println("Running in the $env environment")
|
||||
|
||||
// routing {
|
||||
// get("/api/environment") {
|
||||
// call.respondText(env?: "null")
|
||||
// }
|
||||
// }
|
||||
routing {
|
||||
get("/api/environment") {
|
||||
call.respondText(env?: "null")
|
||||
}
|
||||
}
|
||||
|
||||
val database = initDb(
|
||||
environment.config.property("ktor.database.url").getString(),
|
||||
|
||||
Reference in New Issue
Block a user