I'm following the guide about protected route where is written that "Routes starting with /admin require an authenticated admin user." and "Routes starting with /store/customers/me require an authenticated customer.".
This is correctly working for routes that starts with "/admin", but if i create a route under "/store/customers/me" it's not protected by default.
3. Do a simple request to this endpoint and it will return the 200 response, not the "401 Unauthorized"
### Expected behavior
It should return unauthorized unless `export const AUTHENTICATE = false` is setted.
### Screenshots
![Screenshot 2024-09-03 at 22 52 40](https://github.com/user-attachments/assets/b75edcd0-8242-424a-8c1a-ce03400057bb)
Bug report
Describe the bug
I'm following the guide about protected route where is written that "Routes starting with /admin require an authenticated admin user." and "Routes starting with /store/customers/me require an authenticated customer.". This is correctly working for routes that starts with "/admin", but if i create a route under "/store/customers/me" it's not protected by default.
System information
Medusa version (including plugins): preview (v2.0.7) Node.js version: 20.17.0 Database: PostgreSQL 16 Operating system: MacOS Sonoma Browser (if relevant):
Steps to reproduce the behavior
src/api/store/customers/me/custom/route.ts
export async function GET( req: MedusaRequest, res: MedusaResponse ): Promise {
res.sendStatus(200);
}