add a 404 page and a redirect for /login

This commit is contained in:
Brandon Thomas committed 2024-10-01 19:14:23 -04:00
1 parent a0b7296463
commit d73d2a7ef3
3 files changed
+23 -1

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
<html>
<head>
<title>Not Found</title>
</head>
<body>
<h1> This Page Was Not Found </h1>
</body>
</html>
+10
View File
@@ -0,0 +1,10 @@
# Board Netlify Redirects File
# Netlify docs:
# The redirects engine will process the first matching rule it
# finds, reading from top to bottom. Rules in the _redirects file
# are always processed first, followed by rules in the Netlify
# configuration file.
/login /index.html 200!
+5 -1
View File
@@ -8,8 +8,12 @@ yarn run build2
echo "Copy test files into dist"
cp -r test/* dist/
echo "Copy netlify headers config into dist"
echo "Copy netlify configs into dist"
cp _headers dist/
cp _redirects dist/
echo "Copy netlify 404.html page into dist"
cp "404.html" dist/
echo "List files after build"
find dist/