mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-06 07:37:21 +02:00
Update extract.go
- Updated lego config extractor
This commit is contained in:
parent
0747cf4b0f
commit
97502db607
@ -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],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user