use .env for tests

This commit is contained in:
AJ ONeal 2019-10-04 19:27:58 -06:00
parent c7336ae7da
commit 1723bb41b4
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
// See https://git.coolaj86.com/coolaj86/acme-challenge-test.js
var tester = require('acme-challenge-test');
require('dotenv').config();
// Usage: node ./test.js example.com xxxxxxxxx
var zone = process.argv[2] || process.env.ZONE;