We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a63b450 commit 5916bd5Copy full SHA for 5916bd5
src/server.js
@@ -11,6 +11,7 @@ class CoCreateLazyLoader {
11
constructor(server, crud, files) {
12
this.server = server
13
this.wsManager = crud.wsManager
14
+ this.acme = crud.wsManager.acme
15
this.crud = crud
16
this.files = files
17
this.exclusion = { ...require.cache };
@@ -73,7 +74,8 @@ class CoCreateLazyLoader {
73
74
75
hosts[hostname] = organization
76
- // TODO: handle ssl validation here and creation here
77
+ await this.acme.checkCertificate(hostname, organization._id)
78
+
79
if (valideUrl.pathname.startsWith('/webhooks/')) {
80
let name = req.url.split('/')[2]; // Assuming URL structure is /webhook/name/...
81
if (this.modules[name]) {
0 commit comments