redirect 404s to home page

This commit is contained in:
2020-02-11 01:52:18 +02:00
parent b92cf2f350
commit 22d077d069

View File

@@ -50,6 +50,11 @@ export default {
netlify: {
redirects: [
{
from: '/*',
to: '/',
status: 404
},
{
from: 'http://gardev.com/*',
to: 'https://gar.dev/:splat',