HF RL Explorer

Middleware chain panics with index out of range when no middlewares provided

Middleware chain panics with index out of range when no middlewares provided: a task in UltraTerminal (Harbor dataset). When creating routes without any middlewares, the application panics with "runtime error: index out of range 1 with length 0". This happens during route registration and makes it…

The task

When creating routes without any middlewares, the application panics with "runtime error: index out of range [1] with length 0". This happens during route registration and makes it impossible to create simple routes without middleware.

Part of harness-hub/UltraTerminal.