Commit ec889812 authored by 神楽坂玲奈's avatar 神楽坂玲奈

start generate immediately when starting server

parent 692bab30
...@@ -23,7 +23,8 @@ def generate ...@@ -23,7 +23,8 @@ def generate
end end
configure do configure do
set :status, :idle set :status, :running
Thread.new { generate }
end end
post '/hook' do post '/hook' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment