Fixes TTL for domains + more constants

This commit is contained in:
Akshay Nair committed 2020-10-05 00:10:02 +05:30
1 parent b3059611c0
commit e3f11eea43
4 files changed
+27 -20

No files matched your search

+11 -1
View File
@@ -1,4 +1,14 @@
const path = require('path');
require('dotenv').config({ path: path.resolve('.env.sandbox') });
const { NC_USER, NC_API_KEY, NC_DOMAIN } = process.env;
module.exports = {
VALID_RECORD_TYPES: ['CNAME', 'A', 'ALIAS', 'URL'],
NC_DOMAIN: 'booboo.xyz',
NC_DOMAIN: NC_DOMAIN || 'booboo.xyz',
NC_USER: NC_USER || 'test',
NC_API_KEY: NC_API_KEY || 'fake_key',
ENV: 'sandbox',
TTL: 5*60,
IP_ADDRESS: '100.100.100.100',
};