From ac77d5bdd998b06602ebf6a5a2ca839001c046a1 Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Thu, 30 Dec 2021 20:51:13 -0800 Subject: [PATCH] Insure the web RootDirectory ends in a slash. Reported by Compctech via DOVE-Net: "On a side note, I had to modify the letsyncrypt.js file to get letsencrypt to work. I had to add a / before .well-known on lines 86 - 89 & 96." I'm guessing this is because his sbbs.ini [Web] RootDirectory wasn't terminated with a slash. --- exec/letsyncrypt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/letsyncrypt.js b/exec/letsyncrypt.js index 45533e0619..7c47b521fe 100644 --- a/exec/letsyncrypt.js +++ b/exec/letsyncrypt.js @@ -177,7 +177,7 @@ var sysop_email = "sysop@" + system.inet_addr; /* * Now read the settings and state. */ -webroots[sbbsini.web.host_name] = sbbsini.web.root_dir; +webroots[sbbsini.web.host_name] = backslash(sbbsini.web.root_dir); if (settings.open("r")) { domain_list = settings.iniGetObject("Domains"); for (i in domain_list) { -- GitLab