1
0
Fork 0

Configure Netlify

This commit is contained in:
Moritz Ruth 2021-12-18 20:00:51 +01:00
parent c02516706f
commit 5ebc236673
No known key found for this signature in database
GPG key ID: AFD57E23E753841B
2 changed files with 8 additions and 3 deletions

8
netlify.toml Normal file
View file

@ -0,0 +1,8 @@
[build]
publish = "dist"
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -8,6 +8,3 @@ https://moritz-ruth.de/* https://moritzruth.de/:splat 301!
# Internal
/agb /terms
/kontakt /contact
# Uses index.html for all paths
/* /index.html 200