Skip to content

Commit

Permalink
idk what im doing
Browse files Browse the repository at this point in the history
  • Loading branch information
1lann committed Jan 5, 2024
1 parent 38bee54 commit 2dcb45b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mini.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ func NewMini(config MiniConfig, next CaddyHandleFunc) (*Tmpauth, error) {
doneOnce: sync.Once{},
}

transport := &MiniTransport{
transport := (http.RoundTripper)(&MiniTransport{
RoundTripper: http.DefaultTransport,
tmpauth: t,
}
})

t.miniClient = &http.Client{
CheckRedirect: func(req *http.Request, via []*http.Request) error {
Expand Down

0 comments on commit 2dcb45b

Please sign in to comment.