Skip to content
Snippets Groups Projects
Commit 96ee91b6 authored by jon r's avatar jon r
Browse files

replace degrowth.net instance URL

parent 258ebc6e
No related branches found
No related tags found
No related merge requests found
Pipeline #44 failed with stages
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
class Onebox::Engine::CodimdOnebox class Onebox::Engine::CodimdOnebox
include Onebox::Engine include Onebox::Engine
# we only want to match for a specific codimd domain # 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 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
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment