Changed api endpoint
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user