lib/server/app.rb: edit