fix of api url and new version packages

This commit is contained in:
2025-06-06 16:31:39 +02:00
parent 3bd3b9b70d
commit 0e46d692f9
3 changed files with 8 additions and 8 deletions

View File

@@ -2,9 +2,9 @@ import axios from "axios";
import FormData from 'form-data'
import {useAuthStore} from "@/store/authStore";
// const API_URL = "https://testowe.zikor.pl/api/v1";
const API_URL = "https://testowe.zikor.pl/api/v1";
const API_URL = "http://10.0.2.2:8080/api/v1";
// const API_URL = "http://10.0.2.2:8080/api/v1";
export async function listNotices() {
const { token } = useAuthStore.getState();

View File

@@ -36,9 +36,9 @@
"@tanstack/react-query": "^5.74.4",
"axios": "^1.9.0",
"babel-plugin-module-resolver": "^5.0.2",
"expo": "^53.0.0",
"expo-auth-session": "~6.1.5",
"expo-camera": "~16.1.6",
"expo": "^53.0.10",
"expo-auth-session": "~6.2.0",
"expo-camera": "~16.1.7",
"expo-constants": "~17.1.5",
"expo-image-picker": "~16.1.4",
"expo-linking": "~7.1.4",
@@ -51,13 +51,13 @@
"nativewind": "^4.1.23",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-native": "0.79.2",
"react-native": "0.79.3",
"react-native-css-interop": "^0.1.22",
"react-native-gesture-handler": "~2.24.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-reanimated": "~3.17.4",
"react-native-safe-area-context": "5.4.0",
"react-native-screens": "~4.10.0",
"react-native-screens": "~4.11.1",
"react-native-svg": "15.11.2",
"react-native-web": "~0.20.0",
"tailwindcss": "^3.4.17",

View File

@@ -3,7 +3,7 @@ import {createJSONStorage, persist} from "zustand/middleware";
import AsyncStorage from "@react-native-async-storage/async-storage";
import axios from "axios";
const API_URL = "http://10.0.2.2:8080/api/v1";
const API_URL = "https://testowe.zikor.pl/api/v1";
export const useAuthStore = create(
persist(