Skip to content

Commit cc7d207

Browse files
author
lucifer
committed
fix: PUBLIC_URL
1 parent 7180286 commit cc7d207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"release": "zip -r leetcode-cheat.zip build/ && mv leetcode-cheat.zip ../leetcode-cheat-release/ && cd ../leetcode-cheat-release && git commit -am 'feat: release' && git push",
2222
"lint": "eslint src",
2323
"start": "react-app-rewired start",
24-
"build-web": "PUBLIC_URL=leetcode-cheat react-app-rewired build",
24+
"build-web": "PUBLIC_URL=/leetcode-cheat react-app-rewired build",
2525
"build": "react-app-rewired build",
2626
"test": "react-app-rewired test",
2727
"eject": "react-app-rewired eject",

0 commit comments

Comments
 (0)