Updating lang arrays across JS files
parent
e47adba8fa
commit
46e749663e
|
@ -296,7 +296,7 @@ function redirectToBreezeWiki(storage, eventInfo, url) {
|
||||||
|
|
||||||
// Load website data
|
// Load website data
|
||||||
async function getData() {
|
async function getData() {
|
||||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL", "TOK"];
|
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "ZH"];
|
||||||
let sites = [];
|
let sites = [];
|
||||||
let promises = [];
|
let promises = [];
|
||||||
for (let i = 0; i < LANGS.length; i++) {
|
for (let i = 0; i < LANGS.length; i++) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "ZH"];
|
||||||
const breezeWikiRegex = /breezewiki\.com$|breeze\.hostux\.net$|bw\.projectsegfau\.lt$|antifandom\.com$|breezewiki\.pussthecat\.org$|bw\.vern\.cc$|breezewiki\.esmailelbob\.xyz$|bw\.artemislena\.eu$|bw\.hamstro\.dev$|nerd\.whatever\.social$|breeze\.nohost\.network$|breeze\.whateveritworks\.org$/;
|
const breezeWikiRegex = /breezewiki\.com$|breeze\.hostux\.net$|bw\.projectsegfau\.lt$|antifandom\.com$|breezewiki\.pussthecat\.org$|bw\.vern\.cc$|breezewiki\.esmailelbob\.xyz$|bw\.artemislena\.eu$|bw\.hamstro\.dev$|nerd\.whatever\.social$|breeze\.nohost\.network$|breeze\.whateveritworks\.org$/;
|
||||||
const currentURL = new URL(document.location);
|
const currentURL = new URL(document.location);
|
||||||
|
|
||||||
|
@ -12,7 +13,6 @@ Object.prototype.set = function (prop, value) {
|
||||||
|
|
||||||
// Load website data:
|
// Load website data:
|
||||||
async function getData() {
|
async function getData() {
|
||||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL", "TOK"];
|
|
||||||
let sites = [];
|
let sites = [];
|
||||||
let promises = [];
|
let promises = [];
|
||||||
for (let i = 0; i < LANGS.length; i++) {
|
for (let i = 0; i < LANGS.length; i++) {
|
||||||
|
|
Loading…
Reference in New Issue