diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 8ee11b1..17bb435 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,6 +1,6 @@ -before: - hooks: - - go mod tidy +#before: +# hooks: +# - go mod tidy builds: - env: - CGO_ENABLED=0 diff --git a/docker-compose.yml b/docker-compose.yml index 717efe4..8a3b07a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,8 +8,8 @@ services: ports: - "8011:8011" volumes: - - ./templates:/app/templates - ./logs:/app/logs + # - ./templates:/app/templates # environment: # - PORT=8011 # - META_TEMPLATE=template_meta.yaml diff --git a/validator/sub.go b/validator/sub.go index 4db8340..e3f32ed 100644 --- a/validator/sub.go +++ b/validator/sub.go @@ -17,7 +17,7 @@ type SubQuery struct { Proxy string `form:"proxy" binding:""` Proxies []string `form:"-" binding:""` Refresh bool `form:"refresh,default=false" binding:""` - Template string `form:"templates" binding:""` + Template string `form:"template" binding:""` RuleProvider string `form:"ruleProvider" binding:""` RuleProviders []RuleProviderStruct `form:"-" binding:""` Rule string `form:"rule" binding:""`