mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-08-06 13:18:30 +02:00
Update extract.go
- Updated lego config extractor
This commit is contained in:
@@ -216,6 +216,11 @@ func main() {
|
|||||||
case "*url.URL":
|
case "*url.URL":
|
||||||
fallthrough
|
fallthrough
|
||||||
case "string":
|
case "string":
|
||||||
|
//Add exception rule for gandi baseURL
|
||||||
|
if (providerName == "gandi" || providerName == "gandiv5") && fields[0] == "BaseURL" {
|
||||||
|
//Not useful stuff. Ignore this field
|
||||||
|
continue
|
||||||
|
}
|
||||||
configKeys = append(configKeys, &Field{
|
configKeys = append(configKeys, &Field{
|
||||||
Title: fields[0],
|
Title: fields[0],
|
||||||
Datatype: fields[1],
|
Datatype: fields[1],
|
||||||
|
Reference in New Issue
Block a user