log the application name and version number
Some checks failed
Gitea Actions Demo / lint (push) Successful in 27s
Gitea Actions Demo / test (push) Successful in 20s
Gitea Actions Demo / docker (push) Has been cancelled

This commit is contained in:
Ryan Cavicchioni 2025-04-01 20:08:46 -05:00
parent f8050ca69e
commit 4148b9910a
Signed by: ryanc
SSH Key Fingerprint: SHA256:KbXiwUnZnHFwFtt3Bytd+F3FN9pPHn1Z1cxMIE1TPbg

6
app.rb
View File

@ -20,6 +20,8 @@ $LOAD_PATH.unshift File.dirname(__FILE__) + "/lib"
require "config" require "config"
VERSION = "0.1.1"
CHUNK_SIZE = 1024**2 CHUNK_SIZE = 1024**2
SESSION_SECRET_HEX_LENGTH = 64 SESSION_SECRET_HEX_LENGTH = 64
JWT_SECRET_HEX_LENGTH = 64 JWT_SECRET_HEX_LENGTH = 64
@ -230,6 +232,10 @@ end
enable :sessions enable :sessions
on_start do
puts "#{NAME} #{VERSION} staring, per aspera ad astra"
end
configure do configure do
mime_type :json, "application/json" mime_type :json, "application/json"
end end