Skip to content

Commit cbde491

Browse files
author
Rusty Phillips
committed
refactor(devserve): remove unused health endpoint
1 parent c61ed86 commit cbde491

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

devserve/src/main/kotlin/viaduct/devserve/DevServeServer.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import java.net.URLClassLoader
3434
* Provides:
3535
* - GraphQL endpoint at POST /graphql
3636
* - GraphiQL IDE at GET /graphiql
37-
* - Health check at GET /health
3837
* - Hot-reload via SIGHUP signal
3938
*/
4039
class DevServeServer(
@@ -221,11 +220,6 @@ class DevServeServer(
221220
}
222221

223222
routing {
224-
// Health check endpoint
225-
get("/health") {
226-
call.respondText("OK", ContentType.Text.Plain, HttpStatusCode.OK)
227-
}
228-
229223
// Reload endpoint (alternative to SIGHUP)
230224
post("/reload") {
231225
loggerRef.info("Reload requested via HTTP")

0 commit comments

Comments
 (0)