2
0
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:
耗子
2023-11-04 14:27:15 +08:00
parent 00ec8d693c
commit 3d43a2a08f
11 changed files with 516 additions and 308 deletions

View File

@@ -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{}
}