We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5b4694 commit ed59bbeCopy full SHA for ed59bbe
packages/plugin-rsc/src/browser.ts
@@ -24,6 +24,7 @@ function initialize(): void {
24
})
25
}
26
27
+// Vite normalizes `config.base` to have trailing slash, but not for `import.meta.env.BASE_URL`.
28
// https://github.com/vitejs/vite/blob/27a192fc95036dbdb6e615a4201b858eb64aa075/packages/vite/src/shared/utils.ts#L48-L53
29
function withTrailingSlash(path: string): string {
30
if (path[path.length - 1] !== '/') {
0 commit comments