Add /_cat/cookies
Some checks failed
Gitea Actions Demo / lint (push) Failing after 1m22s
Gitea Actions Demo / test (push) Has been skipped
Gitea Actions Demo / release-image (push) Has been skipped

This commit is contained in:
Ryan Cavicchioni 2024-08-11 11:13:14 -05:00
parent b174107b8a
commit f8b0ef8d31
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

8
app.rb
View File

@ -347,3 +347,11 @@ get "/_cat/env" do
end
end
end
get '/_cat/cookies' do
stream do |out|
cookies.each do |k, v|
out << "#{k}=#{v}\n"
end
end
end