Changed api endpoint

This commit is contained in:
Malte Thöming
2025-11-02 21:51:38 +01:00
parent 3bbd45ce66
commit 7ae75a7b27
11 changed files with 47 additions and 18 deletions

View File

@@ -5,7 +5,7 @@ export type AutoCompleteItem = {
text: string;
};
const DISCOVER_BASE = "http://45.157.177.99:8080/discover";
const DISCOVER_BASE = "https://fltr-app.de/api/discover";
export async function getAutoComplete(
query: string,

View File

@@ -59,7 +59,7 @@ type RawSeasonOld = {
| null;
};
const PERSONS_BASE_URL = "http://45.157.177.99:8080/persons";
const PERSONS_BASE_URL = "https://fltr-app.de/api/persons";
function toMini(p: any | undefined | null): PersonMini | null {
if (!p || !p.personId || !p.name) return null;

View File

@@ -5,7 +5,7 @@ export type SearchResultItem = {
data: any;
};
const DISCOVER_BASE = "http://45.157.177.99:8080/discover/search";
const DISCOVER_BASE = "https://fltr-app.de/api/discover/search";
export async function getSearchResults(
tags: string[] | string,

View File

@@ -38,7 +38,7 @@ export type Season = {
participants: SeasonParticipant[];
};
const SEASON_BASE_URL = "http://45.157.177.99:8080/shows";
const SEASON_BASE_URL = "https://fltr-app.de/api/shows";
export async function getSeason(
showId: number,

View File

@@ -28,7 +28,7 @@ export type Show = {
running: boolean;
};
const SHOW_API_URL = "http://45.157.177.99:8080/shows";
const SHOW_API_URL = "https://fltr-app.de/api/shows";
export async function getShows(): Promise<Show[]> {
try {

View File

@@ -4,7 +4,7 @@ export type StreamingServiceRaw = {
value: string;
};
const STREAMING_SERVICE_API_URL = "http://45.157.177.99:8080/config";
const STREAMING_SERVICE_API_URL = "https://fltr-app.de/api/config";
export async function getStreamingImages(): Promise<StreamingServiceRaw[]> {
try {