瀏覽代碼

Fix startup hang due to unresolved promise

Affects instances where there are certs but none
of them are dns validated
Jamie Curnow 1 年之前
父節點
當前提交
da820db4e1
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      backend/lib/certbot.js

+ 1 - 0
backend/lib/certbot.js

@@ -16,6 +16,7 @@ const certbot = {
 
 		return new Promise((resolve, reject) => {
 			if (pluginKeys.length === 0) {
+				resolve();
 				return;
 			}