Skip to content

Commit 2d1e904

Browse files
author
Oliver Keyes
committed
We cannot assume https on all possible mediawiki instances
1 parent 07c99fc commit 2d1e904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/query.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ url_gen <- function(language, project, domain = NULL, ...){
5555
url <- sprintf("https://%s.%s.org/w/api.php", language, project)
5656
}
5757
} else {
58-
url <- sprintf("https://%s/w/api.php", domain)
58+
url <- sprintf("http://%s/w/api.php", domain)
5959
}
6060

6161
#Return

0 commit comments

Comments
 (0)