Forcefully rewrite all URLs to HTTPS

Fixes #43.
This commit is contained in:
Florine W. Dekker 2021-05-14 12:54:59 +02:00
parent f175291c83
commit 69abc8aadf
Signed by: FWDekker
GPG Key ID: 78B3EAF58145AF25
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "interlanguage-checker",
"version": "1.11.3",
"version": "1.11.4",
"description": "Check the consistency of MediaWiki interlanguage links in a simple overview.",
"author": "Felix W. Dekker",
"browser": "dist/bundle.js",

View File

@ -107,7 +107,7 @@ export class InterwikiMap {
* this map
*/
constructor(map) {
this.map = map.map(it => ({prefix: it.prefix, url: it.url}));
this.map = map.map(it => ({prefix: it.prefix, url: it.url.replace("http://", "https://")}));
}