Skip to content

Commit 95cd87a

Browse files
Merge pull request #20 from codeformuenster/add-netlify-redirects
add netlify _redirects file for rewrites
2 parents 4b5deb6 + 5ed848b commit 95cd87a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

_redirects

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/stadtviertel /index.html 200
2+
/copyright /index.html 200
3+
/impressum /index.html 200

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"scripts": {
1818
"start": "react-scripts-ts start",
19-
"build": "react-scripts-ts build",
19+
"build": "react-scripts-ts build && cp _redirects build/_redirects",
2020
"test": "react-scripts-ts test --env=jsdom",
2121
"eject": "react-scripts-ts eject"
2222
},

0 commit comments

Comments
 (0)