DevPanel Configuration
The generated setup mounts the panel before application routes:
func setupDevPanel(app *core.App) *devpanel.DevPanel { panelConfig := config.MustLoadConfig[devpanel.Config]() panel := devpanel.New(panelConfig) fiberApp := app.Fiber() fiberApp.Use(panel.RequestMiddleware()) fiberApp.Use(panel.GlobalGuard()) panel.Mount(fiberApp) return panel}Config surface
Section titled “Config surface”panel := devpanel.New(devpanel.Config{ Enabled: true, Secret: "strong-token", Path: "/keel/panel",})| Field | Default | Purpose |
|---|---|---|
Enabled | true | Enable or disable the panel |
Secret | empty | Optional Bearer token for panel access |
Path | /keel/panel | URL prefix for panel routes |
Security notes
Section titled “Security notes”- Disable the panel in production when you do not need it.
- Use
KEEL_PANEL_SECRETand HTTPS whenever the panel is exposed. GlobalGuard()returns404for panel routes when the panel is disabled.- The panel rate-limits requests at the addon level.