Skip to content

Commit da33917

Browse files
committed
getPublicUrlOrPath.js: Fix outdated comment
1 parent 8d5e677 commit da33917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-dev-utils/getPublicUrlOrPath.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function getPublicUrlOrPath(isEnvDevelopment, homepage, envPublicUrl) {
4444
}
4545

4646
if (homepage) {
47-
// strip last slash if exists
47+
// ensure last slash exists
4848
homepage = homepage.endsWith('/') ? homepage : homepage + '/';
4949

5050
// Some apps do not use client-side routing with pushState.

0 commit comments

Comments
 (0)