Skip to content

Commit

Permalink
Merge branch 'j0k3r-patch-1' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nleush committed Jun 23, 2015
2 parents 3743ae6 + 3ba1a79 commit 71e22da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/domains/datawrapper.de.js
@@ -1,6 +1,6 @@
module.exports = {
re: [
/^http[s]?:\/\/cf.datawrapper.de\/(.+?)(?:[\/](?:index\.html)?)?$/
/^http[s]?:\/\/(cf.datawrapper.de|datawrapper.dwcdn.net)\/(.+?)(?:[\/](?:index\.html)?)?$/
],

mixins: [
Expand All @@ -11,7 +11,7 @@ module.exports = {
return {
type: CONFIG.T.text_html,
rel: [CONFIG.R.app, CONFIG.R.ssl, CONFIG.R.html5],
href: "http://cf.datawrapper.de/" + urlMatch[1] + "/?for=iframely",
href: urlMatch[0] + "?for=iframely",
height: 350
}
},
Expand All @@ -23,6 +23,7 @@ module.exports = {
},

tests: [
"http://datawrapper.dwcdn.net/zjCKi/2/",
"http://cf.datawrapper.de/zjCKi/2/",
"http://cf.datawrapper.de/Gx44C/21/",
"http://cf.datawrapper.de/RrO5t/2/"
Expand Down

0 comments on commit 71e22da

Please sign in to comment.