no backends

This commit is contained in:
AJ ONeal 2015-12-16 09:34:39 +00:00
parent eaa58694f0
commit 9cd4be8bf6
3 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,7 @@ config.le.server = LE.stagingServer;
// //
// Manual Registration // Manual Registration
// //
var le = LE.create(require('../backends/ursa'), config.le); var le = LE.create(config.le);
le.backend.registerAsync({ le.backend.registerAsync({
agreeTos: true agreeTos: true
, domains: ['example.com'] // CHANGE TO YOUR DOMAIN , domains: ['example.com'] // CHANGE TO YOUR DOMAIN

View File

@ -6,7 +6,7 @@ var PromiseA = require('bluebird');
var crypto = require('crypto'); var crypto = require('crypto');
var tls = require('tls'); var tls = require('tls');
var path = require('path'); var path = require('path');
var leCore = require('./backends/letiny-core'); var leCore = require('./lib/letiny-core');
var LE = module.exports; var LE = module.exports;
LE.productionServerUrl = leCore.productionServerUrl; LE.productionServerUrl = leCore.productionServerUrl;

View File

@ -114,6 +114,7 @@ function getAccount(accountId, args, handlers) {
if (!Object.keys(files).every(function (key) { if (!Object.keys(files).every(function (key) {
return !files[key].error; return !files[key].error;
})) { })) {
// TODO log renewal.conf
console.warn("Account '" + accountId + "' was currupt. No big deal (I think?). Creating a new one..."); console.warn("Account '" + accountId + "' was currupt. No big deal (I think?). Creating a new one...");
return createAccount(args, handlers); return createAccount(args, handlers);
} }