Skip to content

Commit 800423a

Browse files
authored
remove leading slash in path config
1 parent a671462 commit 800423a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/config/paths.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function getServedPath(appPackageJson) {
4444
const publicUrl = getPublicUrl(appPackageJson);
4545
const servedUrl =
4646
envPublicUrl || (publicUrl ? url.parse(publicUrl).pathname : '/');
47-
return ensureSlash(servedUrl, true);
47+
return ensureSlash(servedUrl, false);
4848
}
4949

5050
// config after eject: we're in ./config/

0 commit comments

Comments
 (0)