Configure Netlify
This commit is contained in:
parent
c02516706f
commit
5ebc236673
2 changed files with 8 additions and 3 deletions
8
netlify.toml
Normal file
8
netlify.toml
Normal 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
|
|
@ -8,6 +8,3 @@ https://moritz-ruth.de/* https://moritzruth.de/:splat 301!
|
||||||
# Internal
|
# Internal
|
||||||
/agb /terms
|
/agb /terms
|
||||||
/kontakt /contact
|
/kontakt /contact
|
||||||
|
|
||||||
# Uses index.html for all paths
|
|
||||||
/* /index.html 200
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue