forked from rosa/hakurei
internal/rosa: mirror response write methods
For the fs.FS implementation and static publishing. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ func (cache *cache) open() (err error) {
|
||||
return
|
||||
}
|
||||
var r rosa.Remote
|
||||
if r, err = rosa.NewRemote(cache.mirror, pub, http.DefaultClient); err != nil {
|
||||
if r, err = rosa.NewRemote(http.DefaultClient, cache.mirror, pub); err != nil {
|
||||
cache.c.Close()
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user