Skip to content

Commit fb338db

Browse files
committed
Add a simple root endpoint that responds with "PONG"
1 parent 419805f commit fb338db

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config.ru

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,9 @@ map "/rails-master-hook" do
2828
end
2929
end
3030
end
31+
32+
map "/" do
33+
run ->(_env) do
34+
[200, {"Content-Type" => "text/plain", "Content-Length" => "4"}, ["PONG"]]
35+
end
36+
end

0 commit comments

Comments
 (0)