Moved default sorting-hat value into remote.js

Bu işleme şunda yer alıyor:
John Shaver 2018-06-13 14:00:08 -07:00
ebeveyn 58ed4baff1
işleme 00c973e728
2 değiştirilmiş dosya ile 4 ekleme ve 1 silme

Dosyayı Görüntüle

@ -517,7 +517,7 @@ function connectTunnel() {
state.otp = getOtp();
state.greenlockConf = state.config.greenlock || {};
state.sortingHat = state.config.sortingHat || path.resolve(__dirname, '..', 'lib/sorting-hat.js');
state.sortingHat = state.config.sortingHat;
// TODO sortingHat.print(); ?

Dosyayı Görüntüle

@ -23,6 +23,9 @@ function _connect(state) {
// they can get a promise that will provide feedback about invalid tokens.
var tokens = [];
var auth;
if(!state.sortingHat) {
state.sortingHat = "./sorting-hat.js";
}
if (state.token) {
tokens.push(state.token);
}