tfrere's picture
fix private dataset accessibility
e5bf7d4
raw
history blame
268 Bytes
// URL de l'API
const API_BASE_URL =
process.env.NODE_ENV === "production"
? "" // En production, utilise le même domaine
: "http://localhost:3002";
export const API_URLS = {
leaderboards: `${API_BASE_URL}/api/leaderboards`,
};
export default API_URLS;