Skip to content
Snippets Groups Projects
Unverified Commit f463794f authored by Max Adamo's avatar Max Adamo
Browse files

feat: enhance API URL generation for ACME providers

parent ff87f43a
Branches
No related tags found
No related merge requests found
......@@ -164,14 +164,14 @@ Options:
}
for _, provider := range acmeProviders {
apiURLs = append(apiURLs, "/api/"+provider, "/api/"+provider+"/")
apiURLs = append(
apiURLs, "/api/"+provider, "/api/"+provider+"/",
"/"+provider+"/"+provider+".json", "/"+provider+"/"+provider+"_expired.json",
)
}
for _, provider := range acmeProviders {
otherURLs = append(
otherURLs, "/"+provider+"/by_name.html", "/"+provider+"/by_date.html",
"/"+provider+"/"+provider+".json", "/"+provider+"/"+provider+"_expired.json",
)
otherURLs = append(otherURLs, "/"+provider+"/by_name.html", "/"+provider+"/by_date.html")
}
puppetURL := "/puppet"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment