Skip to content

Commit

Permalink
it works
Browse files Browse the repository at this point in the history
  • Loading branch information
kingh0730 committed Mar 1, 2024
1 parent 7c18fa1 commit 7331b79
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build": "react-scripts build && bash scripts/rename_html.sh",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
Expand All @@ -41,4 +41,4 @@
"react-scripts": "^5.0.1",
"typescript": "^4.2.0"
}
}
}
5 changes: 5 additions & 0 deletions scripts/rename_html.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Rename build/index.html to build/leaderboard.html
# Rename build/index_home.thml to build/index.html

mv build/index.html build/leaderboard.html
mv build/index_home.html build/index.html

0 comments on commit 7331b79

Please sign in to comment.