log the application name and version number
This commit is contained in:
parent
f8050ca69e
commit
4148b9910a
6
app.rb
6
app.rb
@ -20,6 +20,8 @@ $LOAD_PATH.unshift File.dirname(__FILE__) + "/lib"
|
||||
|
||||
require "config"
|
||||
|
||||
VERSION = "0.1.1"
|
||||
|
||||
CHUNK_SIZE = 1024**2
|
||||
SESSION_SECRET_HEX_LENGTH = 64
|
||||
JWT_SECRET_HEX_LENGTH = 64
|
||||
@ -230,6 +232,10 @@ end
|
||||
|
||||
enable :sessions
|
||||
|
||||
on_start do
|
||||
puts "#{NAME} #{VERSION} staring, per aspera ad astra"
|
||||
end
|
||||
|
||||
configure do
|
||||
mime_type :json, "application/json"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user