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 {
|
||||
|
||||
26
app.json
26
app.json
@@ -1,43 +1,51 @@
|
||||
{
|
||||
"expo": {
|
||||
"name": "fltr-app",
|
||||
"name": "FLTR",
|
||||
"slug": "fltr-app",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"orientation": "portrait",
|
||||
"icon": "./assets/images/icon.png",
|
||||
"scheme": "fltrapp",
|
||||
"userInterfaceStyle": "automatic",
|
||||
"newArchEnabled": true,
|
||||
"ios": {
|
||||
"supportsTablet": true
|
||||
"supportsTablet": true,
|
||||
"bundleIdentifier": "de.berg-autosoft.fltr"
|
||||
},
|
||||
"android": {
|
||||
"adaptiveIcon": {
|
||||
"foregroundImage": "./assets/images/adaptive-icon.png",
|
||||
"foregroundImage": "./assets/images/icon.png",
|
||||
"backgroundColor": "#ffffff"
|
||||
},
|
||||
"edgeToEdgeEnabled": true
|
||||
"edgeToEdgeEnabled": true,
|
||||
"package": "de.bergautosoft.fltr"
|
||||
},
|
||||
"web": {
|
||||
"bundler": "metro",
|
||||
"output": "static",
|
||||
"favicon": "./assets/images/favicon.png"
|
||||
"favicon": "./assets/images/icon.png"
|
||||
},
|
||||
"plugins": [
|
||||
"expo-router",
|
||||
[
|
||||
"expo-splash-screen",
|
||||
{
|
||||
"image": "./assets/images/splash-icon.png",
|
||||
"imageWidth": 200,
|
||||
"image": "./assets/images/icon.png",
|
||||
"imageWidth": 300,
|
||||
"resizeMode": "contain",
|
||||
"backgroundColor": "#ffffff"
|
||||
"backgroundColor": "#000456"
|
||||
}
|
||||
],
|
||||
"expo-web-browser"
|
||||
],
|
||||
"experiments": {
|
||||
"typedRoutes": true
|
||||
},
|
||||
"extra": {
|
||||
"router": {},
|
||||
"eas": {
|
||||
"projectId": "e9743e8a-0922-45bd-bc19-dbfd8a9a7436"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ export default StyleSheet.create({
|
||||
mainContainer: {
|
||||
flex: 1,
|
||||
backgroundColor: Colors.background,
|
||||
paddingHorizontal: 15,
|
||||
paddingHorizontal: 5,
|
||||
},
|
||||
header: {
|
||||
minHeight: 125,
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 65 KiB |
21
eas.json
Normal file
21
eas.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"cli": {
|
||||
"version": ">= 16.26.0",
|
||||
"appVersionSource": "remote"
|
||||
},
|
||||
"build": {
|
||||
"development": {
|
||||
"developmentClient": true,
|
||||
"distribution": "internal"
|
||||
},
|
||||
"preview": {
|
||||
"distribution": "internal"
|
||||
},
|
||||
"production": {
|
||||
"autoIncrement": true
|
||||
}
|
||||
},
|
||||
"submit": {
|
||||
"production": {}
|
||||
}
|
||||
}
|
||||
@@ -7,8 +7,8 @@
|
||||
"scripts": {
|
||||
"start": "expo start",
|
||||
"reset-project": "node ./scripts/reset-project.js",
|
||||
"android": "expo start --android",
|
||||
"ios": "expo start --ios",
|
||||
"android": "expo run:android",
|
||||
"ios": "expo run:ios",
|
||||
"web": "expo start --web",
|
||||
"lint": "expo lint"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user