pub fn is_metadata_route(route: &str) -> bool
Expand description
Remove the ‘app’ prefix or ‘/route’ suffix, only check the route name since they’re only allowed in root app directory
e.g.
- /app/robots -> /robots
- app/robots -> /robots
- /robots -> /robots