Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
7 additions
and
1 deletion.
-
+7
−1
app/webapp/ruby/lib/torb/web.rb
|
@@ -171,7 +171,13 @@ def render_report_csv(reports) |
|
|
end |
|
|
|
|
|
get '/initialize' do |
|
|
system "../../db/init.sh" |
|
|
system "curl http://172.18.25.3/initialize_db3" |
|
|
|
|
|
status 204 |
|
|
end |
|
|
|
|
|
get '/initialize_db3' do |
|
|
system "/home/isucon/torb/db/init.sh" |
|
|
|
|
|
status 204 |
|
|
end |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.