mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-06 23:57:21 +02:00
parent
7ae48bf370
commit
9b2168466c
@ -766,7 +766,8 @@
|
|||||||
function initWhitelistCountryList(){
|
function initWhitelistCountryList(){
|
||||||
$.get("/api/whitelist/list?type=country", function(data) {
|
$.get("/api/whitelist/list?type=country", function(data) {
|
||||||
let bannedListHtml = '';
|
let bannedListHtml = '';
|
||||||
data.forEach((countryCode) => {
|
data.forEach((countryWhitelistEntry) => {
|
||||||
|
let countryCode = countryWhitelistEntry.CC;
|
||||||
bannedListHtml += `
|
bannedListHtml += `
|
||||||
<tr>
|
<tr>
|
||||||
<td><i class="${countryCode} flag"></i> ${getCountryName(countryCode)} (${countryCode.toUpperCase()})</td>
|
<td><i class="${countryCode} flag"></i> ${getCountryName(countryCode)} (${countryCode.toUpperCase()})</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user