import api from "./axios";

/**
 * Fetch application configuration
 * @returns {Promise<Object>} Configuration object with maxFileSizeMB, maxImageDimension, etc.
 */
export const getConfig = async () => {
  const response = await api.get("/config");
  return response.data;
};
