From 835ab6208e56a76454bf8f8da75e741ea726f421 Mon Sep 17 00:00:00 2001 From: Emily Date: Fri, 3 Jan 2025 15:48:23 +0100 Subject: [PATCH] fix flags --- dashboard/components/BarCard/Geolocations.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dashboard/components/BarCard/Geolocations.vue b/dashboard/components/BarCard/Geolocations.vue index 5305a79..094128d 100644 --- a/dashboard/components/BarCard/Geolocations.vue +++ b/dashboard/components/BarCard/Geolocations.vue @@ -6,7 +6,8 @@ function iconProvider(e: { _id: string, flag: string, count: number }): ReturnTy if (!e.flag) return ['icon', 'far fa-question'] return [ 'img', - `https://raw.githubusercontent.com/hampusborgos/country-flags/main/png250px/${e.flag.toLowerCase()}.png` + `https://raw.githubusercontent.com/hampusborgos/country-flags/refs/heads/main/svg/${e.flag.toLowerCase()}.svg` + // `https://raw.githubusercontent.com/hampusborgos/country-flags/main/png250px/${e.flag.toLowerCase()}.png` ] }