From a3e4ed9b8755ff9e8bcfba102c0ef3d97e0c4285 Mon Sep 17 00:00:00 2001 From: ShareVB Date: Sat, 20 Jul 2024 20:29:39 +0200 Subject: [PATCH] fix: use ipinfo.io to allow https --- components.d.ts | 2 + src/tools/ip-geo-location/ip-geo-location.vue | 51 ++++++++++--------- 2 files changed, 29 insertions(+), 24 deletions(-) diff --git a/components.d.ts b/components.d.ts index 846de9d6..55bbb8d7 100644 --- a/components.d.ts +++ b/components.d.ts @@ -137,6 +137,7 @@ declare module '@vue/runtime-core' { MenuLayout: typeof import('./src/components/MenuLayout.vue')['default'] MetaTagGenerator: typeof import('./src/tools/meta-tag-generator/meta-tag-generator.vue')['default'] MimeTypes: typeof import('./src/tools/mime-types/mime-types.vue')['default'] + NA: typeof import('naive-ui')['NA'] NAlert: typeof import('naive-ui')['NAlert'] NavbarButtons: typeof import('./src/components/NavbarButtons.vue')['default'] NCheckbox: typeof import('naive-ui')['NCheckbox'] @@ -163,6 +164,7 @@ declare module '@vue/runtime-core' { NLayout: typeof import('naive-ui')['NLayout'] NLayoutSider: typeof import('naive-ui')['NLayoutSider'] NMenu: typeof import('naive-ui')['NMenu'] + NP: typeof import('naive-ui')['NP'] NProgress: typeof import('naive-ui')['NProgress'] NScrollbar: typeof import('naive-ui')['NScrollbar'] NSlider: typeof import('naive-ui')['NSlider'] diff --git a/src/tools/ip-geo-location/ip-geo-location.vue b/src/tools/ip-geo-location/ip-geo-location.vue index ed973685..26394f5f 100644 --- a/src/tools/ip-geo-location/ip-geo-location.vue +++ b/src/tools/ip-geo-location/ip-geo-location.vue @@ -1,39 +1,25 @@