From 4e51d59f2f82f18768c2d0b2df4d3f323cab156b Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 8 Jul 2018 10:10:29 +0200 Subject: [PATCH] controller suffix is now '/i.so' instead of 'i.so' --- request/request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/request/request.go b/request/request.go index 064d0c6..1ffef65 100644 --- a/request/request.go +++ b/request/request.go @@ -96,7 +96,7 @@ func FetchFormData(req *http.Request) map[string]interface{} { func (i *Request) LoadController(method string) (func(implement.Arguments, *implement.Response) implement.Response, error) { /* (1) Build controller path */ - path := fmt.Sprintf(".build/controller/%si.so", strings.Join(i.Path, "/")) + path := fmt.Sprintf(".build/controller/%s/i.so", strings.Join(i.Path, "/")) /* (2) Format url */ tmp := []byte(strings.ToLower(method))