mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-28 11:43:03 +00:00
Fix cert vars issue in stub
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
export async function getValidCertificatesForDomains(
|
export async function getValidCertificatesForDomains(
|
||||||
domains: Set<string>,
|
domains: Set<string>,
|
||||||
useCache: boolean
|
useCache: boolean = true
|
||||||
): Promise<
|
): Promise<
|
||||||
Array<{
|
Array<{
|
||||||
id: number;
|
id: number;
|
||||||
|
|||||||
@@ -416,7 +416,8 @@ export class TraefikConfigManager {
|
|||||||
// Get valid certificates for domains not covered by wildcards
|
// Get valid certificates for domains not covered by wildcards
|
||||||
validCertificates =
|
validCertificates =
|
||||||
await getValidCertificatesForDomains(
|
await getValidCertificatesForDomains(
|
||||||
domainsToFetch
|
domainsToFetch,
|
||||||
|
true
|
||||||
);
|
);
|
||||||
this.lastCertificateFetch = new Date();
|
this.lastCertificateFetch = new Date();
|
||||||
this.lastKnownDomains = new Set(domains);
|
this.lastKnownDomains = new Set(domains);
|
||||||
|
|||||||
Reference in New Issue
Block a user