aboutsummaryrefslogtreecommitdiff
path: root/plugin.rb
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-06-30 11:05:06 +0200
committerhellekin <hellekin@cepheide.org>2020-06-30 11:05:06 +0200
commit7e07ba4bacc9c087f87a154b1cd74cb84b61ef0a (patch)
tree78a82cb28ff6e9cf9bac61adaf22f8c17740dbbe /plugin.rb
parent20a073975568783711566f9d86bd0512ae92f1f8 (diff)
downloaddiscourse-pad-7e07ba4bacc9c087f87a154b1cd74cb84b61ef0a.tar.gz
Adapt to support pad.public.cat
Diffstat (limited to 'plugin.rb')
-rw-r--r--plugin.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin.rb b/plugin.rb
index 32b1303..c8c1a18 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\.public\.cat/}
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'>Go to this Pad</a>"
end
end