Skip to content

Commit 269cbac

Browse files
vicbconico974
andauthored
Update packages/open-next/src/core/routing/matcher.ts
Co-authored-by: conico974 <[email protected]>
1 parent c64941d commit 269cbac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/open-next/src/core/routing/matcher.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ function handleTrailingSlashRedirect(
256256
event: InternalEvent,
257257
): false | InternalResult {
258258
// When rawPath is `//domain`, `url.host` would be `domain`.
259+
// https://github.com/opennextjs/opennextjs-aws/issues/355
259260
const url = new URL(event.rawPath, "http://localhost");
260261

261262
if (

0 commit comments

Comments
 (0)