Files
kenyanghui 171003556d aiinvite2.1: 拆约(原邀悦圈)小程序 + Express/SQLite 后端
- wechat-miniprogram: 原生小程序,品牌化拆约+玄龙logo,API 指向 https://xhermes.aibay.asia
- yaoyue-sever: Express 单文件 server.js + better-sqlite3,GLM glm-5.3-flash(thinking disabled)
- 排除 node_modules/.env/*.db
2026-11-11 23:25:28 +08:00

18 lines
378 B
JavaScript

// config.js - 环境配置(一键切换测试/正式)
// ===== 在这里切换环境 =====
const ENV = 'prod'; // 'dev' = 本地测试 | 'prod' = 线上正式
const ENVIRONMENTS = {
dev: {
apiBaseUrl: 'http://localhost:3001',
},
prod: {
apiBaseUrl: 'https://xhermes.aibay.asia',
},
};
const config = ENVIRONMENTS[ENV];
module.exports = { config, ENV };