mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-22 21:08:13 -05:00
Update certificate.js
This commit is contained in:
parent
7ba58bdbd3
commit
190cd2d6bb
@ -614,7 +614,6 @@ const internalCertificate = {
|
|||||||
if (!result.toLowerCase().includes('key ok') && !result.toLowerCase().includes('key valid') ) {
|
if (!result.toLowerCase().includes('key ok') && !result.toLowerCase().includes('key valid') ) {
|
||||||
throw new error.ValidationError('Result Validation Error: ' + result);
|
throw new error.ValidationError('Result Validation Error: ' + result);
|
||||||
}
|
}
|
||||||
|
|
||||||
fs.unlinkSync(filepath);
|
fs.unlinkSync(filepath);
|
||||||
return true;
|
return true;
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user