Remove immediate bin
This commit is contained in:
@@ -35,7 +35,6 @@ type RootResponse struct {
|
||||
PID int `json:"pid"` // Process ID
|
||||
Sponsor SponsorResponse `json:"sponsor_zurg"` // Sponsorship links
|
||||
Config config.ZurgConfig `json:"config"`
|
||||
ImmediateBin []string `json:"immediate_bin"`
|
||||
OnceDoneBin []string `json:"once_done_bin"`
|
||||
}
|
||||
|
||||
@@ -87,9 +86,8 @@ func (zr *Handlers) handleHome(resp http.ResponseWriter, req *http.Request) {
|
||||
Github: "https://github.com/sponsors/debridmediamanager",
|
||||
Paypal: "https://paypal.me/yowmamasita",
|
||||
},
|
||||
Config: zr.cfg.GetConfig(),
|
||||
ImmediateBin: zr.torMgr.ImmediateBin.ToSlice(),
|
||||
OnceDoneBin: zr.torMgr.OnceDoneBin.ToSlice(),
|
||||
Config: zr.cfg.GetConfig(),
|
||||
OnceDoneBin: zr.torMgr.OnceDoneBin.ToSlice(),
|
||||
}
|
||||
|
||||
out := `<table border="1px">
|
||||
@@ -272,11 +270,7 @@ func (zr *Handlers) handleHome(resp http.ResponseWriter, req *http.Request) {
|
||||
<td>%v</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Immediate Bin</td>
|
||||
<td colspan="2">%v</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Once Done Bin</td>
|
||||
<td>IDs to be deleted once download completes</td>
|
||||
<td colspan="2">%v</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -367,7 +361,6 @@ func (zr *Handlers) handleHome(resp http.ResponseWriter, req *http.Request) {
|
||||
response.Config.ShouldServeFromRclone(),
|
||||
response.Config.ShouldForceIPv6(),
|
||||
response.Config.GetOnLibraryUpdate(),
|
||||
response.ImmediateBin,
|
||||
response.OnceDoneBin,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user