Skip to content

Commit 065aea1

Browse files
committed
chore: tiny irrelevant revert
1 parent 7cca69c commit 065aea1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/plugin-vite/src/plugins/server_entry.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export function serverEntryPlugin(
2525
if (basePath === "/") {
2626
return `/${id}`;
2727
}
28+
// Ensure basePath ends with / and construct the path manually to avoid platform-specific path issues
2829
const normalizedBase = basePath.endsWith("/") ? basePath : basePath + "/";
2930
return normalizedBase + id;
3031
};

0 commit comments

Comments
 (0)