File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ type Addition struct {
9
9
Paths string `json:"paths" required:"true" type:"text"`
10
10
SiteUrl string `json:"siteUrl" type:"text" required:"false" help:"The prefix URL of the strm file"`
11
11
FilterFileTypes string `json:"filterFileTypes" type:"text" default:"strm" required:"false" help:"Supports suffix name of strm file"`
12
- UseSign bool `json:"signPath" default:"true" required:"true" help:"sign the path in the strm file"`
13
12
EncodePath bool `json:"encodePath" default:"true" required:"true" help:"encode the path in the strm file"`
14
13
}
15
14
@@ -27,7 +26,6 @@ func init() {
27
26
op .RegisterDriver (func () driver.Driver {
28
27
return & Strm {
29
28
Addition : Addition {
30
- UseSign : true ,
31
29
EncodePath : true ,
32
30
},
33
31
}
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ func (d *Strm) getLink(ctx context.Context, path string) string {
137
137
if d .EncodePath {
138
138
path = utils .EncodePath (path , true )
139
139
}
140
- if ! d .UseSign {
140
+ if ! d .EnableSign {
141
141
return fmt .Sprintf ("%s/d%s" , apiUrl , path )
142
142
}
143
143
You can’t perform that action at this time.
0 commit comments