ref
This commit is contained in:
1 parent
4fdf7c0ca2
commit
5b115440f1
12 files changed
+115
-89
No files matched your search
+1
-2
@@ -9,8 +9,6 @@ import (
|
||||
)
|
||||
|
||||
func Complete(ctx *fasthttp.RequestCtx) {
|
||||
path := string(ctx.Path())
|
||||
|
||||
if err := authenticate.Do(ctx); err != nil {
|
||||
status := codes.Unknown
|
||||
switch e := err.(type) {
|
||||
@@ -21,6 +19,7 @@ func Complete(ctx *fasthttp.RequestCtx) {
|
||||
return
|
||||
}
|
||||
|
||||
path := string(ctx.Path())
|
||||
p := proxy.Find(path)
|
||||
if p != nil {
|
||||
p.ProxyRequest(ctx)
|
||||
|
||||
Reference in new issue
Block a user