parent
b54e92552a
commit
191f7468fa
@ -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…
Reference in new issue