aboutsummaryrefslogtreecommitdiff
path: root/plugin.rb
diff options
context:
space:
mode:
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 e0cbd8d..32b1303 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -6,8 +6,8 @@
class Onebox::Engine::CodimdOnebox
include Onebox::Engine
- #we only want to match for a specific codimd domain
- matches_regexp /pad.libreho.st/
+ # we only want to match for a specific codimd domain
+ matches_regexp %r{\Ahttps://pad\.libreho\.st/}
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>"