diff --git a/src/wiki.js b/src/wiki.js index 7deac56..3f380c9 100644 --- a/src/wiki.js +++ b/src/wiki.js @@ -20,7 +20,7 @@ import QueryChain from './chain'; * will be set. */ const defaultOptions = { - apiUrl: 'http://en.wikipedia.org/w/api.php', + apiUrl: '//en.wikipedia.org/w/api.php', origin: '*' };