mirror of
https://github.com/nadoo/glider.git
synced 2025-02-24 01:45:39 +08:00
redir: fixed a compile error on linux
This commit is contained in:
parent
4574ab1c1a
commit
b2b3a94798
@ -23,8 +23,8 @@ type RedirProxy struct {
|
|||||||
|
|
||||||
// NewRedirProxy returns a redirect proxy.
|
// NewRedirProxy returns a redirect proxy.
|
||||||
func NewRedirProxy(addr string, upProxy Proxy) (*RedirProxy, error) {
|
func NewRedirProxy(addr string, upProxy Proxy) (*RedirProxy, error) {
|
||||||
s := &redir{
|
s := &RedirProxy{
|
||||||
proxy: newProxy(addr, upProxy),
|
proxy: NewProxy(addr, upProxy),
|
||||||
}
|
}
|
||||||
|
|
||||||
return s, nil
|
return s, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user