// 环境变量配置（供 vite define → VE_ENV）
const envConfig = {
  development: {
    NODE_ENV: "development",
    SERVER: "https://feiniaotech-dev.sysuimars.cn/",
    PYSERVER: "https://birds-api-1-2.sysuimars.cn/",
    NEW_SERVER: "https://woot.feiniaotech.com/",
  },
  local: {
    NODE_ENV: "local",
    SERVER: "http://127.0.0.1:81/",
    PYSERVER: "http://127.0.0.1:5000/",
    NEW_SERVER: "http://127.0.0.1:81/",
  },
  production: {
    NODE_ENV: "production",
    SERVER: "https://birdseye-api.feiniaotech.sysuimars.cn/",
    PYSERVER: "https://birds-api-1-2.sysuimars.cn/",
    NEW_SERVER: "https://woot.feiniaotech.com/",
  },
};

// vite --mode pro 时复用 production
envConfig.pro = envConfig.production;

export default envConfig;
