HF RL Explorer

Fix the CORSMethodMiddleware bug with subrouters

Fix the CORSMethodMiddleware bug with subrouters: a task in repo2rlenv-pr-runtime (Harbor dataset). Title: bug CORSMethodMiddleware can add the allowed methods of the wrong routes

The task

**Title:** [bug] CORSMethodMiddleware can add the allowed methods of the wrong routes

Part of FineEnvs/repo2rlenv-pr-runtime.