feat: add country for customization

Based on #37
This commit is contained in:
Jef LeCompte
2025-07-18 22:25:01 -07:00
parent 6fa9aee5ee
commit 801b3cf725
4 changed files with 10 additions and 3 deletions

View File

@@ -83,7 +83,7 @@ function buildUrl() {
lineupId: config.lineupId,
timespan: config.timespan,
headendId: "lineupId",
country: "USA",
country: config.country,
timezone: config.timezone,
postalCode: config.postalCode,
isOverride: "true",
@@ -109,7 +109,7 @@ export async function getTVListings(): Promise<GridApiResponse> {
if (!response.ok) {
throw new Error(
`Failed to fetch: ${response.status} ${response.statusText}`,
`Failed to fetch: ${response.status} ${response.statusText}`
);
}