File tree Expand file tree Collapse file tree 2 files changed +1
-197
lines changed
Expand file tree Collapse file tree 2 files changed +1
-197
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -42,20 +42,8 @@ func main() {
4242 os .Exit (2 )
4343 }
4444
45- // The GitHub redirector serves assets from GitHub releases
46- github := & githubRedirector {
47- releasesURLs : []string {
48- "https://api.github.com/repos/syncthing/syncthing/releases?per_page=15" ,
49- "https://api.github.com/repos/syncthing/discosrv/releases?per_page=5" ,
50- "https://api.github.com/repos/syncthing/relaysrv/releases?per_page=5" ,
51- },
52- refreshInterval : 5 * time .Minute ,
53- next : proxy ,
54- }
55- main .Add (github )
56-
5745 // We slightly filter which files we're willing to even try to serve
58- filtered := validateFilename (github , []string {
46+ filtered := validateFilename (proxy , []string {
5947 "*.deb" ,
6048 "InRelease" ,
6149 "InRelease.gz" ,
You can’t perform that action at this time.
0 commit comments