mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-22 02:15:45 +03:00
rollback tests
This commit is contained in:
parent
593557659c
commit
822a615c6c
1 changed files with 0 additions and 6 deletions
|
@ -149,9 +149,3 @@ func (c *fakeConn) SetWriteDeadline(t time.Time) error { return nil }
|
|||
func (c *fakeConn) Close() error { return nil }
|
||||
func (c *fakeConn) Read(b []byte) (int, error) { return c.readBuf.Read(b) }
|
||||
func (c *fakeConn) Write(b []byte) (int, error) { return c.writeBuf.Write(b) }
|
||||
|
||||
func newWithoutPathPrefixTestProxy(backendAddr string) *Proxy {
|
||||
return &Proxy{
|
||||
Upstreams: []Upstream{&fakeUpstreamWithoutPathPrefix{from: "/api/messages", withoutPathPrefix: "/api"}},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue