const config = {
  development: {
    backendUrl: 'https://dev.tombutcher.work/api',
    webAppUrl: 'https://dev.tombutcher.work',
    printServerUrl: 'ws://192.168.68.53:8081',
    apiServerUrl: 'https://dev-wss.tombutcher.work',
    logLevel: 'trace'
  },
  production: {
    backendUrl: 'https://api.farmcontrol.app',
    webAppUrl: 'https://web.farmcontrol.app',
    printServerUrl: 'ws://192.168.68.53:8081',
    apiServerUrl: 'https://ws.farmcontrol.app',
    logLevel: 'error'
  }
}

// Get the current environment, defaulting to development
const env = import.meta.env.MODE || 'development'

// Export the configuration for the current environment
export default config[env]
