mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
add a 404 page and a redirect for /login
This commit is contained in:
1 parent
a0b7296463
commit
d73d2a7ef3
3 files changed
+23
-1
No files matched your search
@@ -0,0 +1,8 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Not Found</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1> This Page Was Not Found </h1>
|
||||
</body>
|
||||
</html>
|
||||
+10
@@ -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!
|
||||
|
||||
@@ -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/
|
||||
Reference in new issue
Block a user