Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9308fded3e |
@@ -27,14 +27,6 @@ externalPort = 8080
|
|||||||
localPort = 8081
|
localPort = 8081
|
||||||
externalPort = 80
|
externalPort = 80
|
||||||
|
|
||||||
[[ports]]
|
|
||||||
localPort = 8082
|
|
||||||
externalPort = 3001
|
|
||||||
|
|
||||||
[[ports]]
|
[[ports]]
|
||||||
localPort = 20976
|
localPort = 20976
|
||||||
externalPort = 3000
|
externalPort = 3000
|
||||||
|
|
||||||
[[ports]]
|
|
||||||
localPort = 20977
|
|
||||||
externalPort = 3002
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import { useSafeAreaInsets } from "react-native-safe-area-context";
|
|||||||
import { usePostiz } from "@/context/PostizContext";
|
import { usePostiz } from "@/context/PostizContext";
|
||||||
import { useColors } from "@/hooks/useColors";
|
import { useColors } from "@/hooks/useColors";
|
||||||
|
|
||||||
const DEFAULT_BASE_URL = "https://postiz.gyozamancave.fr/api/public/v1";
|
const DEFAULT_BASE_URL = "https://postiz.gyozamancave.fr/public/v1";
|
||||||
|
|
||||||
function extractAxiosError(err: unknown): string {
|
function extractAxiosError(err: unknown): string {
|
||||||
if (axios.isAxiosError(err)) {
|
if (axios.isAxiosError(err)) {
|
||||||
@@ -184,7 +184,7 @@ export default function SettingsScreen() {
|
|||||||
<Feather name="globe" size={16} color={colors.mutedForeground} style={styles.inputIcon} />
|
<Feather name="globe" size={16} color={colors.mutedForeground} style={styles.inputIcon} />
|
||||||
<TextInput
|
<TextInput
|
||||||
style={[styles.input, { color: colors.foreground }]}
|
style={[styles.input, { color: colors.foreground }]}
|
||||||
placeholder="https://postiz.example.com/api/public/v1"
|
placeholder="https://postiz.example.com/public/v1"
|
||||||
placeholderTextColor={colors.mutedForeground}
|
placeholderTextColor={colors.mutedForeground}
|
||||||
value={inputUrl}
|
value={inputUrl}
|
||||||
onChangeText={(t) => { setInputUrl(t); setValidationStatus("idle"); setErrorDetail(""); }}
|
onChangeText={(t) => { setInputUrl(t); setValidationStatus("idle"); setErrorDetail(""); }}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import React, {
|
|||||||
|
|
||||||
const API_KEY_STORAGE = "postiz_api_key";
|
const API_KEY_STORAGE = "postiz_api_key";
|
||||||
const BASE_URL_STORAGE = "postiz_base_url";
|
const BASE_URL_STORAGE = "postiz_base_url";
|
||||||
const DEFAULT_BASE_URL = "https://postiz.gyozamancave.fr/api/public/v1";
|
const DEFAULT_BASE_URL = "https://postiz.gyozamancave.fr/public/v1";
|
||||||
|
|
||||||
export interface PostizIntegration {
|
export interface PostizIntegration {
|
||||||
id: string;
|
id: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user