fix controller path + minmod
This commit is contained in:
parent
da38582add
commit
bb8cf07ab6
|
@ -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("./controllers/%si.so", strings.Join(i.Path, "/"))
|
||||
path := fmt.Sprintf(".build/controller/%si.so", strings.Join(i.Path, "/"))
|
||||
|
||||
/* (2) Format url */
|
||||
tmp := []byte(strings.ToLower(method))
|
||||
|
|
Loading…
Reference in New Issue