From 96ee91b664ace39f1530a24c13a68ba6db445451 Mon Sep 17 00:00:00 2001
From: yala <yala@allmende.io>
Date: Sat, 26 Jan 2019 02:50:39 +0100
Subject: [PATCH] replace degrowth.net instance URL

---
 plugin.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugin.rb b/plugin.rb
index d2681cd..79bc959 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -7,9 +7,9 @@
 class Onebox::Engine::CodimdOnebox
   include Onebox::Engine
   # we only want to match for a specific codimd domain
-  matches_regexp %r{\Ahttps://pad\.libreho\.st/}
+  matches_regexp %r{\Ahttps://pad\.degrowth\.net/}
 
   def to_html
-    "<iframe name='embed_readwrite' src='#{@url}' style='border-width:0' frameborder='0' scrolling='no' width='100%' height=600></iframe><br><a href='#{@url}' target='_blank'>Goto this Pad</a>"
+    "<iframe name='embed_readwrite' src='#{@url}' style='border-width:0' frameborder='0' scrolling='no' width='100%' height=600></iframe><br /><a href='#{@url}' target='_blank'>Visit this pad.</a>"
   end
 end
-- 
GitLab