// Environment configuration
const environments = {
  development: {
    name: 'development',
    apiUrl: process.env.NEXT_PUBLIC_API_URL || 'https://api.filamenteka.rs/api'
  },
  production: {
    name: 'production',
    apiUrl: process.env.NEXT_PUBLIC_API_URL
  }
};

const currentEnv = process.env.NODE_ENV || 'development';

module.exports = {
  env: environments[currentEnv] || environments.development,
  isDev: currentEnv === 'development',
  isProd: currentEnv === 'production'
};