chore: update
This commit is contained in:
@@ -11,7 +11,7 @@ import type {
|
||||
import { getToken } from "../auth/tokenStorage";
|
||||
import { extractUsernameFromToken } from "../auth/jwtUtils";
|
||||
|
||||
const V1 = "http://172.20.167.237:8080/api/v1";
|
||||
const V1 = "https://uber-stup.club/api/v1";
|
||||
|
||||
// ============================================
|
||||
// AUTH HELPERS
|
||||
|
||||
@@ -2,7 +2,7 @@ import axios from "axios";
|
||||
import { getToken, getAdminToken } from "../auth/tokenStorage";
|
||||
|
||||
// Change this to your server IP/domain
|
||||
export const API_BASE_URL = "http://172.20.167.237:8080";
|
||||
export const API_BASE_URL = "https://uber-stup.club";
|
||||
|
||||
const apiClient = axios.create({
|
||||
baseURL: API_BASE_URL,
|
||||
|
||||
@@ -4,7 +4,7 @@ import Constants from "expo-constants";
|
||||
import { Platform } from "react-native";
|
||||
import apiClient from "../api/client";
|
||||
|
||||
const V1 = "http://172.20.167.237:8080/api/v1";
|
||||
const V1 = "https://uber-stup.club/api/v1";
|
||||
|
||||
// Configuration du comportement des notifications en foreground
|
||||
Notifications.setNotificationHandler({
|
||||
@@ -64,9 +64,7 @@ export async function registerForPushNotificationsAsync(): Promise<
|
||||
Constants.easConfig?.projectId;
|
||||
|
||||
if (!projectId) {
|
||||
console.log(
|
||||
"⚠️ projectId non trouvé - push notifications désactivées",
|
||||
);
|
||||
console.log("⚠️ projectId non trouvé - push notifications désactivées");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user