mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +03:00
1 parent
4911afb7b7
commit
7bc3f3bc18
1 file changed
+3
-1
@@ -15,7 +15,9 @@ declare global {
|
||||
}
|
||||
}
|
||||
|
||||
const { load: loadIpLookup } = useScriptTag('/iplookup.js', undefined, { type: 'module', manual: true });
|
||||
const base = import.meta.env.BASE_URL ?? '/';
|
||||
|
||||
const { load: loadIpLookup } = useScriptTag(`${base}iplookup.js`, undefined, { type: 'module', manual: true });
|
||||
|
||||
const [clientIPDetails, refreshClientIP] = computedRefreshableAsync(async () => {
|
||||
const ipv4 = { ip: '', error: '' };
|
||||
|
||||
Reference in new issue
Block a user