summaryrefslogtreecommitdiff
path: root/server.rb
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-11-23 11:00:54 +0100
committerPatrick Simianer <p@simianer.de>2015-11-23 11:00:54 +0100
commitb22581f4d2432ee98330576d863180bb2ec8169e (patch)
tree132b8f537f65acf2152b0f0a3f8902b863be1506 /server.rb
parente5ebcc08c7125e4942d12965b19fcf2aedbe40be (diff)
/reset -> /reset_progress
Diffstat (limited to 'server.rb')
-rwxr-xr-xserver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.rb b/server.rb
index b0da33a..385a905 100755
--- a/server.rb
+++ b/server.rb
@@ -373,7 +373,7 @@ get '/set_sparse_learning_rate/:rate' do
return "done"
end
-get '/reset' do # reset current session
+get '/reset_progress' do # reset current session
return "locked" if $lock
$db = JSON.parse ReadFile.read DB_FILE
$db['post_edits'].clear