about summary refs log tree commit homepage
path: root/lib/raindrops/watcher.rb
diff options
context:
space:
mode:
authorEric Wong <bofh@yhbt.net>2020-01-06 09:54:51 +0000
committerEric Wong <e@80x24.org>2020-01-06 09:57:45 +0000
commit333535b06eca9a80b1caffe93e243c3815b63f8e (patch)
treef1c72836ee4c756d56d60509cab042320ab11ff8 /lib/raindrops/watcher.rb
parent85486f9af18e4f249f23253e3b251e685b323912 (diff)
downloadraindrops-333535b06eca9a80b1caffe93e243c3815b63f8e.tar.gz
The expiration for bogomips.org is coming up and I'm not
keen on paying or supporting extortionists.

Not wanting to be beholden to ICANN or any powerful
organizations, .onion sites are available to Tor users:

	http://raindrops.ou63pmih66umazou.onion/
	http://ou63pmih66umazou.onion/raindrops.git/
	http://ou63pmih66umazou.onion/raindrops-public/

	(the demo is not yet available via .onion, yet, could be a bit)
Diffstat (limited to 'lib/raindrops/watcher.rb')
-rw-r--r--lib/raindrops/watcher.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb
index b0615f7..ac5b895 100644
--- a/lib/raindrops/watcher.rb
+++ b/lib/raindrops/watcher.rb
@@ -35,28 +35,28 @@ require "aggregate"
 # Returns a plain text summary + histogram with X-* HTTP headers for
 # active connections.
 #
-# e.g.: curl https://raindrops-demo.bogomips.org/active/0.0.0.0%3A80.txt
+# e.g.: curl https://yhbt.net/raindrops-demo/active/0.0.0.0%3A80.txt
 #
 # === GET /active/$LISTENER.html
 #
 # Returns an HTML summary + histogram with X-* HTTP headers for
 # active connections.
 #
-# e.g.: curl https://raindrops-demo.bogomips.org/active/0.0.0.0%3A80.html
+# e.g.: curl https://yhbt.net/raindrops-demo/active/0.0.0.0%3A80.html
 #
 # === GET /queued/$LISTENER.txt
 #
 # Returns a plain text summary + histogram with X-* HTTP headers for
 # queued connections.
 #
-# e.g.: curl https://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.txt
+# e.g.: curl https://yhbt.net/raindrops-demo/queued/0.0.0.0%3A80.txt
 #
 # === GET /queued/$LISTENER.html
 #
 # Returns an HTML summary + histogram with X-* HTTP headers for
 # queued connections.
 #
-# e.g.: curl https://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.html
+# e.g.: curl https://yhbt.net/raindrops-demo/queued/0.0.0.0%3A80.html
 #
 # === POST /reset/$LISTENER
 #
@@ -95,9 +95,9 @@ require "aggregate"
 #
 # = Demo Server
 #
-# There is a server running this app at https://raindrops-demo.bogomips.org/
+# There is a server running this app at https://yhbt.net/raindrops-demo/
 # The Raindrops::Middleware demo is also accessible at
-# https://raindrops-demo.bogomips.org/_raindrops
+# https://yhbt.net/raindrops-demo/_raindrops
 #
 # The demo server is only limited to 30 users, so be sure not to abuse it
 # by using the /tail/ endpoint too much.
@@ -106,7 +106,7 @@ class Raindrops::Watcher
   attr_reader :snapshot
   include Rack::Utils
   include Raindrops::Linux
-  DOC_URL = "https://bogomips.org/raindrops/Raindrops/Watcher.html"
+  DOC_URL = "https://yhbt.net/raindrops/Raindrops/Watcher.html"
   Peak = Struct.new(:first, :last)
 
   def initialize(opts = {})