Ver Fonte

Fix startup hang due to unresolved promise

Affects instances where there are certs but none
of them are dns validated
Jamie Curnow há 1 ano atrás
pai
commit
da820db4e1
1 ficheiros alterados com 1 adições e 0 exclusões
  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;
 			}