diff --git a/404.html b/404.html new file mode 100644 index 0000000..7f83bf6 --- /dev/null +++ b/404.html @@ -0,0 +1,5 @@ + + + diff --git a/package.json b/package.json index 7add781..888f03f 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,6 @@ "eject": "react-scripts eject", "storybook": "start-storybook -p 9009", "build-storybook": "build-storybook", - "publish": "npm run build && cp ./CNAME ./build && cd build && git init . && git remote add origin $( cd .. && git remote get-url origin ) && git add . && git commit -m 'Update build' && git push -f origin master" + "publish": "npm run build && cp ./404.html ./build && cp ./CNAME ./build && cd build && git init . && git remote add origin $( cd .. && git remote get-url origin ) && git add . && git commit -m 'Update build' && git push -f origin master" } } diff --git a/public/index.html b/public/index.html index f5fb0bb..885cba5 100644 --- a/public/index.html +++ b/public/index.html @@ -28,6 +28,15 @@ ga('create', 'UA-48364339-10', 'auto'); ga('send', 'pageview'); +