diff options
Diffstat (limited to 'plugins/http/parse.go')
-rw-r--r-- | plugins/http/parse.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/http/parse.go b/plugins/http/parse.go index d4a1604b..780e1279 100644 --- a/plugins/http/parse.go +++ b/plugins/http/parse.go @@ -2,6 +2,8 @@ package http import ( "net/http" + + "github.com/spiral/roadrunner/v2/plugins/http/config" ) // MaxLevel defines maximum tree depth for incoming request data and files. @@ -60,7 +62,7 @@ func (d dataTree) mount(i []string, v []string) { } // parse incoming dataTree request into JSON (including contentMultipart form dataTree) -func parseUploads(r *http.Request, cfg UploadsConfig) *Uploads { +func parseUploads(r *http.Request, cfg config.Uploads) *Uploads { u := &Uploads{ cfg: cfg, tree: make(fileTree), |