From bd5156caf74e939119ada66c97241e8d2a145ca8 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sat, 17 Sep 2011 17:23:33 -0700 Subject: [PATCH] before google docs --- public/out.html | 19 +++++++++++++++++++ watch-yourself.rb | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 public/out.html diff --git a/public/out.html b/public/out.html new file mode 100644 index 0000000..f8623f6 --- /dev/null +++ b/public/out.html @@ -0,0 +1,19 @@ + + + + + + + +watch yourself + + + \ No newline at end of file diff --git a/watch-yourself.rb b/watch-yourself.rb index c895272..aaa7402 100644 --- a/watch-yourself.rb +++ b/watch-yourself.rb @@ -35,7 +35,7 @@ module WatchYourself stats = { :time => now, :sys => params['sys'], :dia => params['dia'], :pulse => params['pulse'] } $stderr.puts "[#{now}] IN: #{stats.inspect}" redis.zadd key('stats'), now, JSON.stringify(stats) - redirect '/stats.html' + redirect '/out.html' end get '/stats' do