mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-21 20:18:06 +02:00
[pitboss/grind] deferred session-0009 (20260520T233019Z-6958)
This commit is contained in:
parent
a6f34554db
commit
38cc0ce05f
60 changed files with 509 additions and 541 deletions
|
|
@ -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" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue