We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3780646 commit b49111dCopy full SHA for b49111d
1 file changed
packages/plugin-vite/src/plugins/server_entry.ts
@@ -25,6 +25,7 @@ export function serverEntryPlugin(
25
if (basePath === "/") {
26
return `/${id}`;
27
}
28
+ // Ensure basePath ends with / and construct the path manually to avoid platform-specific path issues
29
const normalizedBase = basePath.endsWith("/") ? basePath : basePath + "/";
30
return normalizedBase + id;
31
};
0 commit comments