1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-23 20:24:42 -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:
hooks:
- go mod tidy
#before:
# hooks:
# - go mod tidy
builds:
- env:
- CGO_ENABLED=0

View File

@ -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

View File

@ -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:""`