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

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

4
app.rb
View File

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