mirror of
https://github.com/acepanel/panel.git
synced 2026-02-07 11:57:17 +08:00
refactor: migrate to fiber http driver
This commit is contained in:
@@ -2,8 +2,6 @@ package http
|
||||
|
||||
import (
|
||||
"github.com/goravel/framework/contracts/http"
|
||||
|
||||
"panel/app/http/middleware"
|
||||
)
|
||||
|
||||
type Kernel struct {
|
||||
@@ -12,7 +10,5 @@ type Kernel struct {
|
||||
// The application's global HTTP middleware stack.
|
||||
// These middleware are run during every request to your application.
|
||||
func (kernel Kernel) Middleware() []http.Middleware {
|
||||
return []http.Middleware{
|
||||
middleware.Static(),
|
||||
}
|
||||
return []http.Middleware{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user