cleansend
Version:
A TypeScript implementation of the OpenMsg Protocol - secure, decentralized messaging system with end-to-end encryption for cross-domain communication
16 lines • 702 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const dotenv_1 = __importDefault(require("dotenv"));
dotenv_1.default.config();
const settings = {
openmsgDomain: process.env['OPENMSG_DOMAIN'] || "enter_your_domain_in_settings_file.com",
sandbox: process.env['SANDBOX'] === 'true',
sandboxDir: process.env['SANDBOX'] === 'true' ? "/sandbox" : "",
port: parseInt(process.env['PORT'] || '3000', 10),
nodeEnv: process.env['NODE_ENV'] || 'development'
};
exports.default = settings;
//# sourceMappingURL=settings.js.map