Add hostname to session JSON output
All checks were successful
Gitea Actions Demo / release-image (push) Successful in 1m1s

This commit is contained in:
Ryan Cavicchioni 2024-07-05 16:06:15 -05:00
parent 1262f37b99
commit f20ddcd500
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

4
app.rb
View File

@ -329,7 +329,9 @@ post "/session" do
end end
get "/session" do get "/session" do
json session.to_hash j = session.to_hash
j[:hostname] = ENV['hostname']
json j
end end
get "/cookies" do get "/cookies" do