// API base URL — change for dev/prod export const API_URL = __DEV__ ? 'http://192.168.1.83:3000' // serveur de dev local : 'https://memento-note.com' export const ENDPOINTS = { login: `${API_URL}/api/mobile/auth/login`, logout: `${API_URL}/api/mobile/auth/logout`, me: `${API_URL}/api/mobile/auth/me`, notebooks: `${API_URL}/api/mobile/notebooks`, notes: (notebookId?: string) => notebookId ? `${API_URL}/api/mobile/notes?notebookId=${notebookId}` : `${API_URL}/api/mobile/notes`, note: (id: string) => `${API_URL}/api/mobile/notes/${id}`, search: `${API_URL}/api/mobile/search`, dailyNote: `${API_URL}/api/notes/daily`, }