use actual urls
This commit is contained in:
parent
54198e0499
commit
7a9e85f53f
6
index.js
6
index.js
|
@ -5,11 +5,12 @@
|
||||||
var PromiseA = require('bluebird');
|
var PromiseA = require('bluebird');
|
||||||
var crypto = require('crypto');
|
var crypto = require('crypto');
|
||||||
var tls = require('tls');
|
var tls = require('tls');
|
||||||
var leCore = require('./lib/letiny-core');
|
var leCore = require('letiny-core');
|
||||||
|
|
||||||
var LE = module.exports;
|
var LE = module.exports;
|
||||||
LE.productionServerUrl = leCore.productionServerUrl;
|
LE.productionServerUrl = leCore.productionServerUrl;
|
||||||
LE.stagingServer = leCore.stagingServerUrl;
|
LE.stagingServerUrl = leCore.stagingServerUrl;
|
||||||
|
console.log('stagingUrl', Object.keys(leCore));
|
||||||
LE.configDir = leCore.configDir;
|
LE.configDir = leCore.configDir;
|
||||||
LE.logsDir = leCore.logsDir;
|
LE.logsDir = leCore.logsDir;
|
||||||
LE.workDir = leCore.workDir;
|
LE.workDir = leCore.workDir;
|
||||||
|
@ -17,6 +18,7 @@ LE.acmeChallengPrefix = leCore.acmeChallengPrefix;
|
||||||
LE.knownEndpoints = leCore.knownEndpoints;
|
LE.knownEndpoints = leCore.knownEndpoints;
|
||||||
|
|
||||||
// backwards compat
|
// backwards compat
|
||||||
|
LE.stagingServer = leCore.stagingServerUrl;
|
||||||
LE.liveServer = leCore.productionServerUrl;
|
LE.liveServer = leCore.productionServerUrl;
|
||||||
LE.knownUrls = leCore.knownEndpoints;
|
LE.knownUrls = leCore.knownEndpoints;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue