Skip to content

Commit cd2b49f

Browse files
committed
turbopack: remove unnecessary
1 parent 1ba5d05 commit cd2b49f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

crates/next-core/src/next_edge/entry.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,7 @@ pub fn wrap_edge_entry(
4040
}},
4141
}});
4242
"#,
43-
StringifyJs(&format_args!(
44-
"{}_{pathname}",
45-
if pathname == "/proxy" || pathname == "/src/proxy" {
46-
"proxy"
47-
} else {
48-
"middleware"
49-
}
50-
))
43+
StringifyJs(&format_args!("middleware_{pathname}"))
5144
);
5245
let file = File::from(source);
5346

0 commit comments

Comments
 (0)