From 191f7468fa0abc6c15737c435c8643c94d6b0c63 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Wed, 2 Feb 2022 15:56:04 +0100 Subject: [PATCH] Minor refactor --- src/app.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/app.rb b/src/app.rb index f71d574..87528f6 100755 --- a/src/app.rb +++ b/src/app.rb @@ -1,13 +1,10 @@ #!/usr/bin/ruby -w require "sinatra" -if ARGV[0] == "debug" then - puts "Running app in debug mode..." - require "sinatra/reloader" -end +require "sinatra/reloader" if ARGV[0] == "debug" require "slim" require "sqlite3" get "/" do - "Test" + "Test tesasdfhsdhjkft" end