Skip to content

Commit 658acd1

Browse files
committed
updated certificate path
1 parent f302ff7 commit 658acd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/internal/certificate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ const internalCertificate = {
350350
})
351351
.then((certificate) => {
352352
if (certificate.provider === 'letsencrypt') {
353-
const zipDirectory = '/etc/letsencrypt/live/npm-' + data.id;
353+
const zipDirectory = '/etc/letsencrypt/archive/npm-' + data.id;
354354

355355
if (!fs.existsSync(zipDirectory)) {
356356
throw new error.ItemNotFoundError('Certificate ' + certificate.nice_name + ' does not exists');

0 commit comments

Comments
 (0)