fix(SmartCertManager): Preserve certificate manager update callback during route updates
This commit is contained in:
@ -72,14 +72,6 @@ export class SmartCertManager {
|
||||
this.networkProxy = networkProxy;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the current state of the certificate manager
|
||||
*/
|
||||
public getState(): { challengeRouteActive: boolean } {
|
||||
return {
|
||||
challengeRouteActive: this.challengeRouteActive
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the ACME state manager
|
||||
@ -648,5 +640,14 @@ export class SmartCertManager {
|
||||
public getAcmeOptions(): { email?: string; useProduction?: boolean; port?: number } | undefined {
|
||||
return this.acmeOptions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get certificate manager state
|
||||
*/
|
||||
public getState(): { challengeRouteActive: boolean } {
|
||||
return {
|
||||
challengeRouteActive: this.challengeRouteActive
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user