mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-03 05:12:42 +00:00
Fixes TTL for domains + more constants
This commit is contained in:
1 parent
b3059611c0
commit
e3f11eea43
4 files changed
+27
-20
No files matched your search
+11
-1
@@ -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',
|
||||
};
|
||||
Reference in new issue
Block a user