// export const BACKEND_URL = 'https://backend.codenuk.com'; // export const BACKEND_URL = 'http://192.168.1.16:8000'; export const SOCKET_URL = BACKEND_URL; export const API_BASE_URL = BACKEND_URL; export const getApiUrl = (endpoint: string): string => { const cleanEndpoint = endpoint.startsWith('/') ? endpoint.slice(1) : endpoint; return `${BACKEND_URL}/${cleanEndpoint}`; };