test
This commit is contained in:
parent
e0186959b1
commit
d554ac0a7c
@ -14,7 +14,7 @@ export const handle = sequence(async ({ event, resolve }) => {
|
|||||||
const geoData = await geoResponse.json();
|
const geoData = await geoResponse.json();
|
||||||
if (geoData.country === "US") {
|
if (geoData.country === "US") {
|
||||||
isUS = true;
|
isUS = true;
|
||||||
//console.log("yelllo", geoData);
|
console.log("yelllo", geoData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -80,6 +80,8 @@ async function detectSWUpdate() {
|
|||||||
|
|
||||||
$userRegion = data?.isUSRegion
|
$userRegion = data?.isUSRegion
|
||||||
|
|
||||||
|
console.log('region: ', $userRegion, data?.isUSRegion)
|
||||||
|
|
||||||
let hideHeader = false;
|
let hideHeader = false;
|
||||||
|
|
||||||
NProgress.configure({ showSpinner: false });
|
NProgress.configure({ showSpinner: false });
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user