app.js 979 B

123456789101112131415161718
  1. "use strict";
  2. var __importDefault = (this && this.__importDefault) || function (mod) {
  3. return (mod && mod.__esModule) ? mod : { "default": mod };
  4. };
  5. Object.defineProperty(exports, "__esModule", { value: true });
  6. exports.appSecret = exports.appId = void 0;
  7. var config_1 = require("./config");
  8. var process_1 = __importDefault(require("process"));
  9. var appId = '4s1FXKC9FaGfoqXhmXSJneb3qcm1gOak';
  10. exports.appId = appId;
  11. var appSecret = 'oKvCM06gvwkRbfetd6qWRrbC3rFrbIpV';
  12. exports.appSecret = appSecret;
  13. exports.appId = appId = process_1.default.env.CK_API_ENV === 'test' ? 'iY6iazKsHokdS9FSci9AKbWTMCXUchaf' : '4s1FXKC9FaGfoqXhmXSJneb3qcm1gOak';
  14. exports.appSecret = appSecret = process_1.default.env.CK_API_ENV === 'test' ? 'JBLkhfhNH6kiLD1xnsiDCaXPZn4qhi1O' : 'oKvCM06gvwkRbfetd6qWRrbC3rFrbIpV';
  15. if (config_1.debugMode) {
  16. exports.appId = appId = '4s1FXKC9FaGfoqXhmXSJneb3qcm1gOak';
  17. exports.appSecret = appSecret = 'oKvCM06gvwkRbfetd6qWRrbC3rFrbIpV';
  18. }