Added regions and cities support.

This commit is contained in:
Mike Cao 2023-04-13 22:28:29 -07:00
parent ad3ee5e953
commit f2edd0d604
58 changed files with 293 additions and 70 deletions

View file

@ -20,8 +20,7 @@ export interface WebsiteMetricsRequestQuery {
browser: string;
device: string;
country: string;
subdivision1: string;
subdivision2: string;
region: string;
city: string;
}
@ -46,8 +45,7 @@ export default async (
browser,
device,
country,
subdivision1,
subdivision2,
region,
city,
} = req.query;
@ -66,8 +64,7 @@ export default async (
browser,
device,
country,
subdivision1,
subdivision2,
region,
city,
};
@ -111,8 +108,7 @@ export default async (
browser,
device,
country,
subdivision1,
subdivision2,
region,
city,
};