1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-24 11:54:41 -05:00
This commit is contained in:
Nite07 2023-09-17 10:46:49 +08:00
parent d38d5bcb70
commit 1788541e04
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
before: #before:
hooks: # hooks:
- go mod tidy # - go mod tidy
builds: builds:
- env: - env:
- CGO_ENABLED=0 - CGO_ENABLED=0

View File

@ -8,8 +8,8 @@ services:
ports: ports:
- "8011:8011" - "8011:8011"
volumes: volumes:
- ./templates:/app/templates
- ./logs:/app/logs - ./logs:/app/logs
# - ./templates:/app/templates
# environment: # environment:
# - PORT=8011 # - PORT=8011
# - META_TEMPLATE=template_meta.yaml # - META_TEMPLATE=template_meta.yaml

View File

@ -17,7 +17,7 @@ type SubQuery struct {
Proxy string `form:"proxy" binding:""` Proxy string `form:"proxy" binding:""`
Proxies []string `form:"-" binding:""` Proxies []string `form:"-" binding:""`
Refresh bool `form:"refresh,default=false" binding:""` Refresh bool `form:"refresh,default=false" binding:""`
Template string `form:"templates" binding:""` Template string `form:"template" binding:""`
RuleProvider string `form:"ruleProvider" binding:""` RuleProvider string `form:"ruleProvider" binding:""`
RuleProviders []RuleProviderStruct `form:"-" binding:""` RuleProviders []RuleProviderStruct `form:"-" binding:""`
Rule string `form:"rule" binding:""` Rule string `form:"rule" binding:""`