Minor refactor

master
E. Almqvist 3 years ago
parent b54e92552a
commit 191f7468fa
  1. 7
      src/app.rb

@ -1,13 +1,10 @@
#!/usr/bin/ruby -w #!/usr/bin/ruby -w
require "sinatra" require "sinatra"
if ARGV[0] == "debug" then require "sinatra/reloader" if ARGV[0] == "debug"
puts "Running app in debug mode..."
require "sinatra/reloader"
end
require "slim" require "slim"
require "sqlite3" require "sqlite3"
get "/" do get "/" do
"Test" "Test tesasdfhsdhjkft"
end end

Loading…
Cancel
Save