[pitboss/grind] deferred session-0009 (20260520T233019Z-6958)

This commit is contained in:
pitboss 2026-05-21 03:39:36 -05:00
parent a6f34554db
commit 38cc0ce05f
60 changed files with 509 additions and 541 deletions

View file

@ -53,9 +53,9 @@ fn is_app_router_route(path: &Path) -> bool {
}
fn is_pages_api_route(path: &Path) -> bool {
let mut comps = path.components().peekable();
let comps = path.components().peekable();
let mut saw_pages = false;
while let Some(c) = comps.next() {
for c in comps {
if c.as_os_str().to_string_lossy() == "pages" {
saw_pages = true;
} else if saw_pages && c.as_os_str().to_string_lossy() == "api" {