diff options
author | 2021-10-24 06:18:42 -0700 | |
---|---|---|
committer | 2021-10-24 06:18:42 -0700 | |
commit | 449c8b5f362835d75e5f98ccf89f99df5d7a2e88 (patch) | |
tree | 8fefde6f3d2bb6d376f588b9d4c1fd837102d641 /packages/bun-framework-next/renderDocument.tsx | |
parent | 1f7af3754d3649a82145da4c92b76a10ab1b2468 (diff) | |
download | bun-449c8b5f362835d75e5f98ccf89f99df5d7a2e88.tar.gz bun-449c8b5f362835d75e5f98ccf89f99df5d7a2e88.tar.zst bun-449c8b5f362835d75e5f98ccf89f99df5d7a2e88.zip |
[internal] Tweak build system to better support unit tests in Zig
Diffstat (limited to 'packages/bun-framework-next/renderDocument.tsx')
-rw-r--r-- | packages/bun-framework-next/renderDocument.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/bun-framework-next/renderDocument.tsx b/packages/bun-framework-next/renderDocument.tsx index aa6c85fbf..463395863 100644 --- a/packages/bun-framework-next/renderDocument.tsx +++ b/packages/bun-framework-next/renderDocument.tsx @@ -391,7 +391,7 @@ export async function render({ var query = Object.assign({}, route.query); // These are reversed in our Router versus Next.js...mostly due to personal preference. - const pathname = "/" + route.name; + const pathname = route.name; var asPath = route.pathname; const pages = {}; |