This commit is contained in:
DeniskaRediska committed 2019-10-24 16:31:08 +03:00
1 parent 4fdf7c0ca2
commit 5b115440f1
12 files changed
+115 -89

No files matched your search

+1 -2
View File
@@ -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)