/**
 * Configuration endpoints
 * Public endpoints that provide application configuration to clients
 */

const { MAX_FILE_SIZE_MB, MAX_IMAGE_DIMENSION, IMAGE_QUALITY } = require("../config/constants");

exports.getConfig = (req, res) => {
  res.json({
    maxFileSizeMB: MAX_FILE_SIZE_MB,
    maxImageDimension: MAX_IMAGE_DIMENSION,
    imageQuality: IMAGE_QUALITY
  });
};
