Skip to content

Commit 44a9257

Browse files
committed
deploy on netlify
1 parent 416e8d0 commit 44a9257

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "react-games",
33
"version": "0.1.0",
4-
"homepage": "https://denvuudd.github.io/react-games.github.io",
54
"private": true,
65
"dependencies": {
76
"@testing-library/jest-dom": "^5.16.5",
@@ -26,7 +25,7 @@
2625
"predeploy": "npm run build",
2726
"deploy": "gh-pages -d build",
2827
"start": "react-scripts start",
29-
"build": "react-scripts build --public-url https://denvuudd.github.io/react-games.github.io",
28+
"build": "react-scripts build",
3029
"test": "react-scripts test",
3130
"eject": "react-scripts eject"
3231
},

src/pages/AppRouter.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const AppRouter = () => {
99

1010
return (
1111
<div>
12-
<Routes basename={process.env.PUBLIC_URL}>
12+
<Routes>
1313
{routes.map(route => {
1414
return <Route path={route.path}
1515
element={route.element}

0 commit comments

Comments
 (0)